mlola-ui 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/registry/index.json +65 -65
- package/registry/source/packages/components/alert/alert.tsx +1 -1
- package/registry/source/packages/components/badge/badge.tsx +2 -2
- package/registry/source/packages/components/breadcrumb/breadcrumb.tsx +1 -1
- package/registry/source/packages/components/carousel/carousel.tsx +1 -0
- package/registry/source/packages/components/checkbox/checkbox.tsx +3 -2
- package/registry/source/packages/components/color-picker/color-picker.tsx +15 -13
- package/registry/source/packages/components/color-picker/color.ts +1 -1
- package/registry/source/packages/components/combobox/combobox.tsx +33 -6
- package/registry/source/packages/components/date-picker/date-picker.tsx +5 -3
- package/registry/source/packages/components/dropzone/dropzone.tsx +1 -1
- package/registry/source/packages/components/empty-state/empty-state.tsx +1 -1
- package/registry/source/packages/components/hover-card/hover-card.tsx +1 -1
- package/registry/source/packages/components/number-input/number-input.tsx +6 -5
- package/registry/source/packages/components/otp-input/otp-input.tsx +6 -4
- package/registry/source/packages/components/progress/progress.tsx +1 -1
- package/registry/source/packages/components/segmented-control/segmented-control.tsx +5 -3
- package/registry/source/packages/components/select/select.tsx +6 -5
- package/registry/source/packages/components/tag-input/tag-input.tsx +7 -6
- package/registry/source/packages/components/textarea/textarea.tsx +1 -1
- package/registry/source/packages/components/time-picker/time-picker.tsx +8 -5
- package/registry/source/packages/components/timeline/timeline.tsx +1 -1
- package/registry/source/packages/components/toast/toast.tsx +1 -1
- package/registry/source/packages/components/toggle/toggle.tsx +1 -0
- package/registry/source/packages/components/tour/tour.tsx +3 -3
- package/registry/source-manifest.json +24 -24
- package/src/cli.js +2 -2
- package/src/pro.js +1 -1
|
@@ -8,43 +8,43 @@
|
|
|
8
8
|
"packages/components/accordion/accordion.tsx": "sha256-0ALaLJd1fvj8Vbx86HLBKm3qUItrtwbrGJTykVfNSMg=",
|
|
9
9
|
"packages/components/activity-heatmap/activity-heatmap.tsx": "sha256-fMGDlXKpOfIOy0hmbpR8hKrbbN3fC386tXK27A21ZwM=",
|
|
10
10
|
"packages/components/activity-heatmap/calendar.ts": "sha256-NB+AjXY5Xc+KzR8MMTRBgZxdzOeoHhkW0KQOW7WJPuQ=",
|
|
11
|
-
"packages/components/alert/alert.tsx": "sha256-
|
|
11
|
+
"packages/components/alert/alert.tsx": "sha256-j680akXvCIh4MTVnUo79acvVrv51XyQ3UBJ5FBAy8Dw=",
|
|
12
12
|
"packages/components/app-shell/app-shell.tsx": "sha256-XAq82XOTH3ZR+hxTkYFu8P7Ih2aI6ERy/TpXc2VMUwM=",
|
|
13
13
|
"packages/components/avatar/avatar.tsx": "sha256-hvZUGhatN95ZyX6p6NBhTRf6h1/rrJ+bJrqBMtIspq0=",
|
|
14
|
-
"packages/components/badge/badge.tsx": "sha256
|
|
15
|
-
"packages/components/breadcrumb/breadcrumb.tsx": "sha256-
|
|
14
|
+
"packages/components/badge/badge.tsx": "sha256-flEH8S2jZ/64n3Y/ROhC9+9rvF7wXaN0xLcMMwqNOVQ=",
|
|
15
|
+
"packages/components/breadcrumb/breadcrumb.tsx": "sha256-Mt9mvmwwDgdp5/+mj5byIrh8+hicsp7R6UcvUlK0yog=",
|
|
16
16
|
"packages/components/button/button.tsx": "sha256-khqYxcV3hlZ+Q+cYNTRXEpAfIijDFSvkuDJXMPtlk7g=",
|
|
17
17
|
"packages/components/calendar/calendar.tsx": "sha256-uE22LI4jpU8ErR/oBmAkeKiu+Rp0bz3IXZVCurycpwc=",
|
|
18
18
|
"packages/components/calendar/dates.ts": "sha256-mygYkoC70av2ZQ0vkxf885trwW97Wd10I4dptYQe+4A=",
|
|
19
19
|
"packages/components/card/card.tsx": "sha256-aMKbv5DWYYWq7GZAFR9O1fuYE0H61WCjkvEbRMOd894=",
|
|
20
|
-
"packages/components/carousel/carousel.tsx": "sha256-
|
|
21
|
-
"packages/components/checkbox/checkbox.tsx": "sha256-
|
|
22
|
-
"packages/components/color-picker/color-picker.tsx": "sha256-
|
|
23
|
-
"packages/components/color-picker/color.ts": "sha256-
|
|
24
|
-
"packages/components/combobox/combobox.tsx": "sha256-
|
|
20
|
+
"packages/components/carousel/carousel.tsx": "sha256-pamugpB6Ujt9Ylxd37jNF/ZwSb8iRkW/MoYe12nY3i4=",
|
|
21
|
+
"packages/components/checkbox/checkbox.tsx": "sha256-hz4YbGwOxv/aJpJHrLXR4MKSWJGyjzoJEIGvdhyML9M=",
|
|
22
|
+
"packages/components/color-picker/color-picker.tsx": "sha256-E+QB6MbSxg+3AZX3A7bOkst4arxgpmFL2ZmochoWCl8=",
|
|
23
|
+
"packages/components/color-picker/color.ts": "sha256-YqSgYjzn7XfPWAHuyzbwOhbg/ScaSfB7V73e9w+OjJs=",
|
|
24
|
+
"packages/components/combobox/combobox.tsx": "sha256-CvuYc/hJoS7yw6QM9vv1SIkwflx0Kwd95UjchtC+AOs=",
|
|
25
25
|
"packages/components/command-menu/command-menu.tsx": "sha256-mF1z92yrPY609pjx5Dt1l5EhGHl9EWV8F8Sq0hyJRw4=",
|
|
26
26
|
"packages/components/context-menu/context-menu.tsx": "sha256-YgYsIzvLGFcJG1XX5zFJwrid5Z1Kn0lyWVzmLKmbMVU=",
|
|
27
|
-
"packages/components/date-picker/date-picker.tsx": "sha256-
|
|
27
|
+
"packages/components/date-picker/date-picker.tsx": "sha256-rsmDweD3RVfKTXR2i+/pnTb/MsrDAZXmHAYBvcUGxig=",
|
|
28
28
|
"packages/components/dropdown-menu/dropdown-menu.tsx": "sha256-xgybCu9HBxIieafu5CjAtY4aCOQoaAj/VUCH6D6vLP8=",
|
|
29
|
-
"packages/components/dropzone/dropzone.tsx": "sha256-
|
|
30
|
-
"packages/components/empty-state/empty-state.tsx": "sha256-
|
|
31
|
-
"packages/components/hover-card/hover-card.tsx": "sha256-
|
|
29
|
+
"packages/components/dropzone/dropzone.tsx": "sha256-tHCCpEWE6839UeLOszTo+R2vAL4Sp9UxuRdLkFLfnq4=",
|
|
30
|
+
"packages/components/empty-state/empty-state.tsx": "sha256-uCKqYpr9vkozXZHpdl4GFtdX9ijcGOriCHvgyarBqRw=",
|
|
31
|
+
"packages/components/hover-card/hover-card.tsx": "sha256-AyRbxfqDOYBgGlgjgrtQZm5DipArLEzQn6XnzjPd0ro=",
|
|
32
32
|
"packages/components/input/input.tsx": "sha256-lbbheo+ydQTzyujTf0W7DD96TogOjifCyqj9c3h3W0g=",
|
|
33
33
|
"packages/components/kbd/kbd.tsx": "sha256-wrPqzn1e82zJYoKzO7u94Bgq4+nPc0DXLc8GJ/4/3nY=",
|
|
34
34
|
"packages/components/modal/modal.tsx": "sha256-vybxgBGYCrMYvJRnO1wDAc2VFQylu+mQIf5OZIcabX4=",
|
|
35
|
-
"packages/components/number-input/number-input.tsx": "sha256-
|
|
35
|
+
"packages/components/number-input/number-input.tsx": "sha256-BDOyvCNtMULD/HK7uWHsYbGg79lrRDrVqtGQQrYHpmM=",
|
|
36
36
|
"packages/components/number-input/number.ts": "sha256-IrHCQrEhI5ein9ifMFuSViSoxQUBoT3tNmmCu/paGGM=",
|
|
37
|
-
"packages/components/otp-input/otp-input.tsx": "sha256-
|
|
37
|
+
"packages/components/otp-input/otp-input.tsx": "sha256-QURn8g5HqCQXBTdeENPbVxoPlqs3ZtoAPLRlFjQDxmI=",
|
|
38
38
|
"packages/components/pagination/pagination.tsx": "sha256-FBwk8tq4JcsK2D0dlWEYiDSRx3owgBmGzEIlVRaNBoE=",
|
|
39
39
|
"packages/components/popover/popover.tsx": "sha256-/kTiAuFklU4IuP97XaiCUGdEpKtNyMPLPS359mfzPHw=",
|
|
40
40
|
"packages/components/priority-icon/labels.ts": "sha256-zhmJIb7/gS16wU+xCJ7hkReBi9q5RI3SMwdjkJvvvKU=",
|
|
41
41
|
"packages/components/priority-icon/priority-icon.tsx": "sha256-3D6hFRpht3YuWouLhakE2DFdldavmJx0B/povEDwrtQ=",
|
|
42
|
-
"packages/components/progress/progress.tsx": "sha256-
|
|
42
|
+
"packages/components/progress/progress.tsx": "sha256-9OjecRNPWn7Bfe+C5IyXaKsW1NJae6X5gco1o0X5XkE=",
|
|
43
43
|
"packages/components/radio-group/radio-group.tsx": "sha256-jhnSEBLkdpe8dv5us/Q1sMsQF4sKGRgDXWGKm2JSFew=",
|
|
44
44
|
"packages/components/rating/rating.tsx": "sha256-zgPOQXzAiRE4qGNPQ8qat3SP1XSI/7567kA5VaT51P0=",
|
|
45
45
|
"packages/components/resizable/resizable.tsx": "sha256-40sK2UyIR9Ek72KAu5nvbr44tKEY6JhC5Ftb++Wf6cI=",
|
|
46
|
-
"packages/components/segmented-control/segmented-control.tsx": "sha256-
|
|
47
|
-
"packages/components/select/select.tsx": "sha256-
|
|
46
|
+
"packages/components/segmented-control/segmented-control.tsx": "sha256-MCBG5XHFWCwbACctsYKbqe8mvSSR6pf60tyRgdCDKDA=",
|
|
47
|
+
"packages/components/select/select.tsx": "sha256-m8QmKUGC4386XcklosSntal0XwUAFjKosTBQSF0dduQ=",
|
|
48
48
|
"packages/components/sheet/sheet.tsx": "sha256-EIn3OeRDmXGHbYf/uihRh8aw3LmzarIFiyC9DUsL1jg=",
|
|
49
49
|
"packages/components/skeleton/skeleton.tsx": "sha256-2Fk72NbLr3+CrXH7jGbHNsc3t+vskMqSyySe/UwbGCs=",
|
|
50
50
|
"packages/components/slider/slider.tsx": "sha256-l+VrBqPYHIIcemiVixxwDxNDB0HEMmYRZekx/H5HroQ=",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"packages/components/stepper/stepper.tsx": "sha256-uI/dRmkbijlixHiGUceWcpaDzpEixrzQ1UTmoPbGZAY=",
|
|
54
54
|
"packages/components/table/table.tsx": "sha256-ed1Qn2sIpxRvGdPDAb5ih5AcXr5PmHTHdlrJLYDYRp8=",
|
|
55
55
|
"packages/components/tabs/tabs.tsx": "sha256-kWAQjE9mshqZL7V3NJTUiurp6M5Nu3vx5O1LsIgdV5Y=",
|
|
56
|
-
"packages/components/tag-input/tag-input.tsx": "sha256
|
|
57
|
-
"packages/components/textarea/textarea.tsx": "sha256-
|
|
58
|
-
"packages/components/time-picker/time-picker.tsx": "sha256-
|
|
56
|
+
"packages/components/tag-input/tag-input.tsx": "sha256-EK7xJTe3Y/S5Kn3vS0zBQg9lC+RVoGvky6HOAt+DnAw=",
|
|
57
|
+
"packages/components/textarea/textarea.tsx": "sha256-C9jMYZ63w+m6bgdLvHjvULRuoCe26q5zbgS4+ahWzr8=",
|
|
58
|
+
"packages/components/time-picker/time-picker.tsx": "sha256-og8Cbf+e8oFYewfagUgjRzLHSIIlAZh+1OpAn9yNq70=",
|
|
59
59
|
"packages/components/time-picker/times.ts": "sha256-V/4uqFZPn9gVnyx8cB9vwp/RocmTYaPmLxjfy8DPQOI=",
|
|
60
|
-
"packages/components/timeline/timeline.tsx": "sha256-
|
|
61
|
-
"packages/components/toast/toast.tsx": "sha256-
|
|
62
|
-
"packages/components/toggle/toggle.tsx": "sha256-
|
|
60
|
+
"packages/components/timeline/timeline.tsx": "sha256-nVg7lBcAUAzqEb0YrHagJXSaHE2aWWE9bUbQMWQY6PU=",
|
|
61
|
+
"packages/components/toast/toast.tsx": "sha256-FvZnwN6Lk/QEHmcNxo7sVlEvR3Lx54aT5cH9lwrthhE=",
|
|
62
|
+
"packages/components/toggle/toggle.tsx": "sha256-8qPHeSliHNdzQS7OLJ47BrvRR75MYyUGJlK4s21XS/U=",
|
|
63
63
|
"packages/components/tooltip/tooltip.tsx": "sha256-NbaOUmlUbBlUIdovchrWwH2QqzuvXB97DjnJnrHf4Gc=",
|
|
64
|
-
"packages/components/tour/tour.tsx": "sha256-
|
|
64
|
+
"packages/components/tour/tour.tsx": "sha256-mrAE8aVDBVIibGvQah9Gh3mzIiWDFxB6aObzqFo5xXU=",
|
|
65
65
|
"packages/components/virtual-list/virtual-list.tsx": "sha256-raGEFn4HlAOIohqZcy0DgptsnUIPS/6bWLYeTe+M9E8=",
|
|
66
66
|
"packages/components/virtual-list/virtual.ts": "sha256-PyDIj3C2Vwb1i4ZssxSlYjgKmZPBIFLZFNq8YCW2Z78="
|
|
67
67
|
}
|
package/src/cli.js
CHANGED
|
@@ -167,7 +167,7 @@ export async function run(argv, options = {}) {
|
|
|
167
167
|
if (!token) throw new Error(`Usage: mlola-ui login <token>. Create a token at ${host}/account.`);
|
|
168
168
|
const { licence } = await verifyToken(host, token, fetcher);
|
|
169
169
|
const filename = saveCredentials(env, token, host === hostFrom(env) ? undefined : host);
|
|
170
|
-
output.log(`✓ Logged in to Mlola Pro (${licence.plan}
|
|
170
|
+
output.log(`✓ Logged in to Mlola Pro (${licence.plan} license). Token saved to ${filename}.`);
|
|
171
171
|
return 0;
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -212,7 +212,7 @@ export async function run(argv, options = {}) {
|
|
|
212
212
|
if (!credentials) {
|
|
213
213
|
throw new Error(
|
|
214
214
|
`${proNames.map((name) => `"${name}"`).join(", ")} ${proNames.length === 1 ? "is" : "are"} part of Mlola Pro. ` +
|
|
215
|
-
`With a
|
|
215
|
+
`With a license, create a token at ${host}/account and run "npx mlola-ui login <token>". See ${host}/pricing to get Pro.`,
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
218
|
const delivered = await fetchProItems(host, credentials.token, proNames, fetcher);
|
package/src/pro.js
CHANGED
|
@@ -10,7 +10,7 @@ import { sha256 } from "./registry.js";
|
|
|
10
10
|
* Pro source is never bundled. `mlola-ui login <token>` stores a token made at
|
|
11
11
|
* /account (readable by the current user only); `add` sends it to the Pro
|
|
12
12
|
* endpoint, which returns the items and their Pro dependencies stamped with
|
|
13
|
-
* the
|
|
13
|
+
* the license. In CI, `MLOLA_PRO_TOKEN` takes the place of a login.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
export const DEFAULT_HOST = "https://ui.mlola.com";
|