ui-ingredients 0.0.32 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +57 -60
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,70 +12,67 @@ npm install ui-ingredients
12
12
 
13
13
  ```svelte
14
14
  <script>
15
- import {Clipboard} from 'ui-ingredients';
16
-
17
- let {data} = $props();
15
+ import {Dialog, Portal} from 'ui-ingredients';
16
+ import {XCloseIcon} from '$lib/icons';
18
17
  </script>
19
18
 
20
- <Clipboard.Root value={data.token}>
21
- <Clipboard.Label>Token</Clipboard.Label>
22
- <Clipboard.Control>
23
- <Clipboard.Input />
24
- <Clipboard.Trigger>
25
- <Clipboard.Indicator copied>
26
- <CheckIcon />
27
- </Clipboard.Indicator>
28
- <Clipboard.Indicator>
29
- <CopyIcon />
30
- </Clipboard.Indicator>
31
- </Clipboard.Trigger>
32
- </Clipboard.Control>
33
- </Clipboard.Root>
19
+ <Dialog.Root>
20
+ <Dialog.Trigger>Open</Dialog.Trigger>
21
+
22
+ <Portal>
23
+ <Dialog.Backdrop />
24
+ <Dialog.Positioner>
25
+ <Dialog.Content>
26
+ <Dialog.Title>Title</Dialog.Title>
27
+ <Dialog.Description>Description</Dialog.Description>
28
+ <Dialog.CloseTrigger>
29
+ <XCloseIcon />
30
+ </Dialog.CloseTrigger>
31
+ </Dialog.Content>
32
+ </Dialog.Positioner>
33
+ </Portal>
34
+ </Dialog.Root>
34
35
  ```
35
36
 
36
- ## Components
37
+ ## Documentation
37
38
 
38
- - 🟢 Accordion
39
- - 🟢 Avatar
40
- - 🟢 Carousel
41
- - 🟢 Checkbox
42
- - 🟢 Clipboard
43
- - 🟢 Collapsible
44
- - ⚪ ColorPicker
45
- - 🟢 Combobox
46
- - 🟢 DatePicker
47
- - 🟢 Dialog
48
- - 🟢 Editable
49
- - 🟢 Field
50
- - 🟢 FileUpload
51
- - ⚪ FloatingPanel
52
- - 🟢 HoverCard
53
- - 🟢 Menu
54
- - 🟢 NumberInput
55
- - 🟢 Pagination
56
- - 🟢 PinInput
57
- - 🟢 Popover
58
- - 🟢 Portal
59
- - ⚪ Presence
60
- - 🟢 Progress
61
- - 🟢 QRCode
62
- - 🟢 RadioGroup
63
- - 🟢 RatingGroup
64
- - 🟢 Select
65
- - 🟢 SegmentGroup
66
- - 🟢 SignaturePad
67
- - 🟢 Slider
68
- - 🟢 Splitter
69
- - 🟢 Steps
70
- - 🟢 Switch
71
- - 🟢 Tabs
72
- - 🟢 TagsInput
73
- - 🟢 TimePicker
74
- - 🟢 Timer
75
- - 🟢 Toast
76
- - 🟢 ToggleGroup
77
- - 🟢 Tooltip
78
- - ⚪ Tour
79
- - 🟢 TreeView
39
+ - [Accordion](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/accordion.md)
40
+ - [Avatar](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/avatar.md)
41
+ - [Carousel](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/carousel.md)
42
+ - [Checkbox](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/checkbox.md)
43
+ - [Clipboard](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/clipboard.md)
44
+ - [Collapsible](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/collapsible.md)
45
+ - [Combobox](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/combobox.md)
46
+ - [DatePicker](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/datePicker.md)
47
+ - [Dialog](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/dialog.md)
48
+ - [Editable](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/editable.md)
49
+ - [Field](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/field.md)
50
+ - [FileUpload](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/file-upload.md)
51
+ - [HoverCard](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/hover-card.md)
52
+ - [Menu](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/menu.md)
53
+ - [NumberInput](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/number-input.md)
54
+ - [Pagination](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/pagination.md)
55
+ - [PinInput](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/pin-input.md)
56
+ - [Popover](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/popover.md)
57
+ - [Portal](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/portal.md)
58
+ - [Progress](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/progress.md)
59
+ - [QRCode](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/qr-code.md)
60
+ - [RadioGroup](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/radio-group.md)
61
+ - [RatingGroup](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/rating-group.md)
62
+ - [Select](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/select.md)
63
+ - [SegmentGroup](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/segment-group.md)
64
+ - [SignaturePad](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/signature-pad.md)
65
+ - [Slider](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/slider.md)
66
+ - [Splitter](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/splitter.md)
67
+ - [Steps](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/steps.md)
68
+ - [Switch](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/switch.md)
69
+ - [Tabs](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/tabs.md)
70
+ - [TagsInput](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/tags-input.md)
71
+ - [TimePicker](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/time-picker.md)
72
+ - [Timer](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/timer.md)
73
+ - [Toast](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/toast.md)
74
+ - [ToggleGroup](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/toggle-group.md)
75
+ - [Tooltip](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/tooltip.md)
76
+ - [TreeView](https://github.com/calvo-jp/ui-ingredients/blob/main/docs/tree-view.md)
80
77
 
81
78
  View components demo [here](https://ui-ingredients.vercel.app/)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui-ingredients",
3
3
  "type": "module",
4
- "version": "0.0.32",
4
+ "version": "0.0.34",
5
5
  "packageManager": "pnpm@9.7.0",
6
6
  "svelte": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",