Skip to content

Commit

Permalink
FIX: Link docs to format.js not format.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sanand0 committed Oct 29, 2024
1 parent a8bd460 commit 7bb745c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ These utility functions provide commonly used number, percentage and date format
Import the functions as:

```js
import { num, num0, num2, pc, pc0, pc1 } from "https://cdn.jsdelivr.net/npm/@gramex/ui/dist/format.ts";
import { num, num0, num2, pc, pc0, pc1 } from "https://cdn.jsdelivr.net/npm/@gramex/ui@0.3/dist/format.js";
```

| | 0.0038 | 0.038 | 0.38 | 3.81 | 381 | 38,104 | 3,810,369.24 |
Expand All @@ -45,7 +45,7 @@ See the [source](format.ts ":ignore") to create your own formats. Refer to
The following date formats are supported:

```js
import { dmy, mdy, dm, md, wdmy } from "https://cdn.jsdelivr.net/npm/@gramex/ui/dist/format.ts";
import { dmy, mdy, dm, md, wdmy } from "https://cdn.jsdelivr.net/npm/@gramex/ui@0.3/dist/format.js";
```

| Function | 23 Jan 2023 |
Expand Down
2 changes: 1 addition & 1 deletion docs/dark-theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<!-- Copy this dropdown anywhere in your page, e.g. inside a navbar -->
<div class="position-relative" role="group" aria-label="Toggle dark mode" title="Toggle Dark Mode">
<button class="dark-theme-toggle btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Toggle theme (auto)">
<button class="dark-theme-toggle btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false" aria-label="Open navigation menu">
<i class="bi bi-circle-half"></i> <span class="d-lg-none ms-2">Toggle theme</span>
</button>
<ul class="dropdown-menu dropdown-menu-end">
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gramex/ui",
"version": "0.3.0",
"version": "0.3.1",
"description": "Commonly used UI components and interactions",
"scripts": {
"build": "bash build.sh",
Expand Down

0 comments on commit 7bb745c

Please sign in to comment.