@stacksjs/components 0.2.35 → 0.2.53
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/dist/Accordion-19x8q4rj.stx +88 -0
- package/dist/{Audio-vdmg1258.stx → Audio-hjywk3qc.stx} +4 -4
- package/dist/{Avatar-365cvrh4.stx → Avatar-h3jmwcq0.stx} +23 -34
- package/dist/{Badge-8m3qete4.stx → Badge-k8dy3d53.stx} +11 -19
- package/dist/{Button-3tt4vsqt.stx → Button-1vknasy3.stx} +18 -33
- package/dist/Calendar-reny0et7.stx +189 -0
- package/dist/{Card-6wdbexqr.stx → Card-c1g1fd1w.stx} +27 -33
- package/dist/{Checkbox-p3q3e3nf.stx → Checkbox-zgdmy3p5.stx} +36 -44
- package/dist/{Checkout-e4037tyy.stx → Checkout-agt0ngpw.stx} +8 -16
- package/dist/Combobox-fdkr6cdq.stx +96 -0
- package/dist/{ComboboxButton-8gxwkhdx.stx → ComboboxButton-g76stp1e.stx} +14 -2
- package/dist/{ComboboxInput-mk99z65n.stx → ComboboxInput-z1293bbh.stx} +12 -5
- package/dist/ComboboxOption-hmxt3gte.stx +49 -0
- package/dist/{ListboxOptions-8kqvfp7z.stx → ComboboxOptions-sq5360ae.stx} +2 -2
- package/dist/CommandPalette-36mxf05w.stx +81 -0
- package/dist/CommandPaletteItem-mvk6q7a2.stx +27 -0
- package/dist/Dialog-hczpexs4.stx +37 -0
- package/dist/{Drawer-p7m351bn.stx → Drawer-xhevp5cw.stx} +29 -49
- package/dist/Dropdown-vvhemtc0.stx +82 -0
- package/dist/{DropdownButton-9w8zkfwj.stx → DropdownButton-wcz67dxy.stx} +12 -6
- package/dist/DropdownItem-c7rz08e5.stx +35 -0
- package/dist/{DropdownItems-aygjpxkx.stx → DropdownItems-1sxnd5qn.stx} +2 -2
- package/dist/EmailInput-vak3kkmk.stx +30 -0
- package/dist/Form-mas630hy.stx +95 -0
- package/dist/{Image-jhkm6w1f.stx → Image-yhxcvgzs.stx} +68 -100
- package/dist/Listbox-q49tnr90.stx +101 -0
- package/dist/{ListboxButton-spwx7513.stx → ListboxButton-keb8gm0q.stx} +12 -1
- package/dist/ListboxOption-e0dtv1gc.stx +49 -0
- package/dist/{ComboboxOptions-6b5ywc5x.stx → ListboxOptions-ejkatcfg.stx} +7 -3
- package/dist/{Login-rx9gyqhx.stx → Login-gepemsth.stx} +17 -19
- package/dist/Navigator-rk2a5wvk.stx +113 -0
- package/dist/Notification-tb9b525s.stx +78 -0
- package/dist/{NumberInput-nzpkx1ry.stx → NumberInput-drnvtqej.stx} +40 -53
- package/dist/{Pagination-h61eq390.stx → Pagination-n3d31cns.stx} +73 -108
- package/dist/PasswordInput-n02x6053.stx +142 -0
- package/dist/{PaymentMethods-j42jsk5x.stx → PaymentMethods-x4vrx9yb.stx} +21 -30
- package/dist/Popover-et2q44m7.stx +60 -0
- package/dist/{PopoverButton-fnaqc77g.stx → PopoverButton-mffzc9pr.stx} +12 -6
- package/dist/{PopoverPanel-y0vtf5w9.stx → PopoverPanel-054yh38h.stx} +6 -6
- package/dist/{Portal-s2q37yp0.stx → Portal-1vf14s4x.stx} +20 -37
- package/dist/{Progress-vmdkm06p.stx → Progress-yxcntr4x.stx} +36 -48
- package/dist/{Radio-04bs3d21.stx → Radio-cgjv2hb2.stx} +29 -34
- package/dist/RadioGroup-qxmnm3xm.stx +60 -0
- package/dist/RadioGroupOption-s1d6r221.stx +58 -0
- package/dist/SearchInput-pdx7agn0.stx +44 -0
- package/dist/{Select-g4mmvfv8.stx → Select-28y0pg83.stx} +23 -31
- package/dist/Sidebar-73vc78as.stx +236 -0
- package/dist/SidebarFooter-zsfsgcxb.stx +109 -0
- package/dist/SidebarHeader-7v174a9c.stx +122 -0
- package/dist/SidebarItem-3y3e8g2t.stx +92 -0
- package/dist/SidebarSection-z5ey6awe.stx +113 -0
- package/dist/{Signup-c4dyv6f3.stx → Signup-hxm5hwkr.stx} +26 -28
- package/dist/{StepperStep-en4r00zv.stx → StepperStep-wxgembat.stx} +9 -5
- package/dist/{SubscriptionCheckout-gawjzf3q.stx → SubscriptionCheckout-zy2ycrmw.stx} +99 -129
- package/dist/Switch-r5t5w04w.stx +70 -0
- package/dist/{TableHeader-ydys9rzz.stx → TableHeader-0eyzbqpz.stx} +10 -3
- package/dist/Tabs-bzvvn4ke.stx +126 -0
- package/dist/Teleport-tsx4bt4n.stx +65 -0
- package/dist/{TextInput-k2kfkgy1.stx → TextInput-kf084763.stx} +42 -59
- package/dist/{Textarea-szad57dz.stx → Textarea-xg4rr2xz.stx} +42 -54
- package/dist/{Tooltip-em7t551n.stx → Tooltip-m0tqd72e.stx} +34 -40
- package/dist/Transition-7smenaz8.stx +102 -0
- package/dist/{TwoFactorChallenge-an9yvxvq.stx → TwoFactorChallenge-y5m3nk79.stx} +49 -63
- package/dist/{Video-crxva65p.stx → Video-84j4pv6h.stx} +4 -4
- package/dist/VirtualList-fa7v5a3h.stx +67 -0
- package/dist/VirtualTable-f9crbfjr.stx +103 -0
- package/dist/components/CodeBlock.stx +1 -6
- package/dist/index.js +13 -13
- package/dist/ui/accordion/Accordion.stx +1 -3
- package/dist/ui/auth/Login.stx +0 -1
- package/dist/ui/auth/Signup.stx +0 -1
- package/dist/ui/auth/TwoFactorChallenge.stx +1 -3
- package/dist/ui/avatar/Avatar.stx +0 -2
- package/dist/ui/badge/Badge.stx +0 -1
- package/dist/ui/button/Button.stx +1 -2
- package/dist/ui/calendar/Calendar.stx +12 -2
- package/dist/ui/card/Card.stx +0 -2
- package/dist/ui/checkbox/Checkbox.stx +2 -2
- package/dist/ui/combobox/Combobox.stx +2 -1
- package/dist/ui/combobox/ComboboxButton.stx +1 -0
- package/dist/ui/combobox/ComboboxInput.stx +1 -4
- package/dist/ui/combobox/ComboboxOption.stx +2 -9
- package/dist/ui/combobox/ComboboxOptions.stx +1 -1
- package/dist/ui/command-palette/CommandPalette.stx +3 -6
- package/dist/ui/command-palette/CommandPaletteItem.stx +2 -7
- package/dist/ui/dialog/Dialog.stx +1 -3
- package/dist/ui/drawer/Drawer.stx +1 -3
- package/dist/ui/dropdown/Dropdown.stx +2 -5
- package/dist/ui/dropdown/DropdownButton.stx +1 -3
- package/dist/ui/dropdown/DropdownItem.stx +2 -7
- package/dist/ui/dropdown/DropdownItems.stx +1 -1
- package/dist/ui/form/Form.stx +0 -5
- package/dist/ui/image/Image.stx +1 -6
- package/dist/ui/input/EmailInput.stx +1 -1
- package/dist/ui/input/NumberInput.stx +0 -1
- package/dist/ui/input/PasswordInput.stx +1 -4
- package/dist/ui/input/SearchInput.stx +2 -2
- package/dist/ui/input/TextInput.stx +1 -2
- package/dist/ui/listbox/Listbox.stx +2 -1
- package/dist/ui/listbox/ListboxButton.stx +1 -0
- package/dist/ui/listbox/ListboxOption.stx +2 -9
- package/dist/ui/listbox/ListboxOptions.stx +1 -1
- package/dist/ui/navigator/Navigator.stx +4 -4
- package/dist/ui/notification/Notification.stx +1 -5
- package/dist/ui/pagination/Pagination.stx +1 -2
- package/dist/ui/payment/Checkout.stx +0 -4
- package/dist/ui/payment/PaymentMethods.stx +15 -2
- package/dist/ui/payment/SubscriptionCheckout.stx +3 -184
- package/dist/ui/popover/Popover.stx +2 -5
- package/dist/ui/popover/PopoverButton.stx +1 -3
- package/dist/ui/popover/PopoverPanel.stx +1 -1
- package/dist/ui/portal/Portal.stx +1 -0
- package/dist/ui/progress/Progress.stx +6 -1
- package/dist/ui/radio/Radio.stx +1 -1
- package/dist/ui/radio-group/RadioGroup.stx +2 -1
- package/dist/ui/radio-group/RadioGroupOption.stx +2 -9
- package/dist/ui/select/Select.stx +1 -1
- package/dist/ui/sidebar/Sidebar.stx +9 -26
- package/dist/ui/sidebar/SidebarFooter.stx +6 -21
- package/dist/ui/sidebar/SidebarHeader.stx +7 -18
- package/dist/ui/sidebar/SidebarItem.stx +4 -20
- package/dist/ui/sidebar/SidebarSection.stx +5 -18
- package/dist/ui/sidebar/index.d.ts +13 -1
- package/dist/ui/stepper/StepperStep.stx +1 -5
- package/dist/ui/switch/Switch.stx +4 -10
- package/dist/ui/table/TableHeader.stx +1 -1
- package/dist/ui/tabs/Tabs.stx +0 -1
- package/dist/ui/teleport/Teleport.stx +1 -0
- package/dist/ui/textarea/Textarea.stx +1 -1
- package/dist/ui/tooltip/Tooltip.stx +1 -2
- package/dist/ui/transition/Transition.stx +9 -16
- package/dist/ui/virtual-list/VirtualList.stx +2 -4
- package/dist/ui/virtual-table/VirtualTable.stx +1 -1
- package/package.json +3 -3
- package/src/components/CodeBlock.stx +26 -29
- package/src/components/Footer.stx +1 -1
- package/src/components/Hero.stx +1 -1
- package/src/components/Installation.stx +5 -7
- package/src/ui/accordion/Accordion.stx +48 -68
- package/src/ui/audio/Audio.stx +4 -4
- package/src/ui/auth/Login.stx +17 -19
- package/src/ui/auth/Signup.stx +26 -28
- package/src/ui/auth/TwoFactorChallenge.stx +49 -63
- package/src/ui/avatar/Avatar.stx +23 -34
- package/src/ui/badge/Badge.stx +11 -19
- package/src/ui/button/Button.stx +18 -33
- package/src/ui/calendar/Calendar.stx +93 -136
- package/src/ui/card/Card.stx +27 -33
- package/src/ui/checkbox/Checkbox.stx +36 -44
- package/src/ui/combobox/Combobox.stx +87 -4
- package/src/ui/combobox/ComboboxButton.stx +14 -2
- package/src/ui/combobox/ComboboxInput.stx +12 -5
- package/src/ui/combobox/ComboboxOption.stx +29 -32
- package/src/ui/combobox/ComboboxOptions.stx +7 -3
- package/src/ui/command-palette/CommandPalette.stx +70 -28
- package/src/ui/command-palette/CommandPaletteItem.stx +15 -20
- package/src/ui/dialog/Dialog.stx +28 -10
- package/src/ui/drawer/Drawer.stx +29 -49
- package/src/ui/dropdown/Dropdown.stx +69 -11
- package/src/ui/dropdown/DropdownButton.stx +12 -6
- package/src/ui/dropdown/DropdownItem.stx +18 -26
- package/src/ui/dropdown/DropdownItems.stx +2 -2
- package/src/ui/form/Form.stx +50 -164
- package/src/ui/heatmap/Heatmap.stx +16 -37
- package/src/ui/image/Image.stx +68 -100
- package/src/ui/input/EmailInput.stx +16 -27
- package/src/ui/input/NumberInput.stx +40 -53
- package/src/ui/input/PasswordInput.stx +64 -77
- package/src/ui/input/SearchInput.stx +27 -46
- package/src/ui/input/TextInput.stx +42 -59
- package/src/ui/listbox/Listbox.stx +91 -4
- package/src/ui/listbox/ListboxButton.stx +12 -1
- package/src/ui/listbox/ListboxOption.stx +30 -38
- package/src/ui/listbox/ListboxOptions.stx +2 -2
- package/src/ui/navigator/Navigator.stx +52 -77
- package/src/ui/notification/Notification.stx +46 -39
- package/src/ui/pagination/Pagination.stx +73 -108
- package/src/ui/payment/Checkout.stx +8 -16
- package/src/ui/payment/PaymentMethods.stx +21 -30
- package/src/ui/payment/SubscriptionCheckout.stx +99 -129
- package/src/ui/popover/Popover.stx +50 -14
- package/src/ui/popover/PopoverButton.stx +12 -6
- package/src/ui/popover/PopoverPanel.stx +6 -6
- package/src/ui/portal/Portal.stx +20 -37
- package/src/ui/progress/Progress.stx +36 -48
- package/src/ui/radio/Radio.stx +29 -34
- package/src/ui/radio-group/RadioGroup.stx +51 -4
- package/src/ui/radio-group/RadioGroupOption.stx +37 -30
- package/src/ui/select/Select.stx +23 -31
- package/src/ui/sidebar/Sidebar.stx +136 -188
- package/src/ui/sidebar/SidebarFooter.stx +49 -35
- package/src/ui/sidebar/SidebarHeader.stx +52 -30
- package/src/ui/sidebar/SidebarItem.stx +52 -78
- package/src/ui/sidebar/SidebarSection.stx +56 -51
- package/src/ui/sidebar/index.ts +21 -1
- package/src/ui/stepper/StepperStep.stx +9 -5
- package/src/ui/switch/Switch.stx +38 -42
- package/src/ui/table/TableHeader.stx +10 -3
- package/src/ui/tabs/Tabs.stx +68 -87
- package/src/ui/teleport/Teleport.stx +23 -59
- package/src/ui/textarea/Textarea.stx +42 -54
- package/src/ui/tooltip/Tooltip.stx +34 -40
- package/src/ui/transition/Transition.stx +76 -148
- package/src/ui/video/Video.stx +4 -4
- package/src/ui/virtual-list/VirtualList.stx +45 -61
- package/src/ui/virtual-table/VirtualTable.stx +62 -72
- package/dist/Accordion-sbfra0mz.stx +0 -108
- package/dist/Calendar-58nnkdh8.stx +0 -232
- package/dist/Combobox-th5ebw62.stx +0 -13
- package/dist/ComboboxOption-an9zyan6.stx +0 -52
- package/dist/CommandPalette-kwmdf2np.stx +0 -39
- package/dist/CommandPaletteItem-zx2fbpts.stx +0 -32
- package/dist/Dialog-rgmj8q2j.stx +0 -19
- package/dist/Dropdown-jz4jy0n3.stx +0 -24
- package/dist/DropdownItem-wagdspb8.stx +0 -43
- package/dist/EmailInput-ajsp9vw6.stx +0 -41
- package/dist/Form-1mdmx9b6.stx +0 -209
- package/dist/Listbox-pqqh72g8.stx +0 -14
- package/dist/ListboxOption-7nxzaexq.stx +0 -57
- package/dist/Navigator-aay8bjab.stx +0 -138
- package/dist/Notification-gk33gv7b.stx +0 -71
- package/dist/PasswordInput-zv4hm43j.stx +0 -155
- package/dist/Popover-469gbt6r.stx +0 -24
- package/dist/RadioGroup-bvb1mrhd.stx +0 -13
- package/dist/RadioGroupOption-cpdwgnhw.stx +0 -51
- package/dist/SearchInput-2521m475.stx +0 -63
- package/dist/Sidebar-40ckbzh8.stx +0 -288
- package/dist/SidebarFooter-hnth56mg.stx +0 -95
- package/dist/SidebarHeader-3wrte2p2.stx +0 -100
- package/dist/SidebarItem-zqtvvzpc.stx +0 -118
- package/dist/SidebarSection-3etwnbjr.stx +0 -108
- package/dist/Switch-036j9vm1.stx +0 -74
- package/dist/Tabs-svh721m0.stx +0 -145
- package/dist/Teleport-qfch3w0b.stx +0 -101
- package/dist/Transition-0hmr6zxb.stx +0 -174
- package/dist/VirtualList-cndhjejh.stx +0 -83
- package/dist/VirtualTable-ng0b48yp.stx +0 -113
|
@@ -5,11 +5,9 @@ export declare const size: unknown;
|
|
|
5
5
|
export declare const shape: unknown;
|
|
6
6
|
export declare const status: unknown;
|
|
7
7
|
export declare const className: unknown;
|
|
8
|
-
export declare const onError: unknown;
|
|
9
8
|
export declare const containerClasses: unknown;
|
|
10
9
|
export declare const avatarClasses: unknown;
|
|
11
10
|
export declare const imageClasses: unknown;
|
|
12
11
|
export declare const initialsClasses: unknown;
|
|
13
12
|
export declare const statusClasses: unknown;
|
|
14
|
-
// Generate initials from name if not provided
|
|
15
13
|
export declare const displayInitials: () => unknown;
|
package/dist/ui/badge/Badge.stx
CHANGED
|
@@ -3,7 +3,6 @@ export declare const size: unknown;
|
|
|
3
3
|
export declare const dot: unknown;
|
|
4
4
|
export declare const removable: unknown;
|
|
5
5
|
export declare const className: unknown;
|
|
6
|
-
export declare const onRemove: unknown;
|
|
7
6
|
export declare const badgeClasses: unknown;
|
|
8
7
|
export declare const dotClasses: unknown;
|
|
9
8
|
export declare const removeButtonClasses: unknown;
|
|
@@ -7,8 +7,7 @@ export declare const fullWidth: unknown;
|
|
|
7
7
|
export declare const leftIcon: unknown;
|
|
8
8
|
export declare const rightIcon: unknown;
|
|
9
9
|
export declare const className: unknown;
|
|
10
|
-
export declare const
|
|
11
|
-
// Combine classes
|
|
10
|
+
export declare const isDisabled: unknown;
|
|
12
11
|
export declare const buttonClasses: unknown;
|
|
13
12
|
export declare const iconClasses: unknown;
|
|
14
13
|
export declare const spinnerClasses: unknown;
|
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
// Calendar Component Props
|
|
2
1
|
export declare const value: unknown;
|
|
3
|
-
export declare const onChange: unknown;
|
|
4
2
|
export declare const minDate: unknown;
|
|
5
3
|
export declare const maxDate: unknown;
|
|
6
4
|
export declare const disabledDates: unknown;
|
|
7
5
|
export declare const locale: unknown;
|
|
8
6
|
export declare const firstDayOfWeek: unknown;
|
|
7
|
+
export declare const showToday: unknown;
|
|
9
8
|
export declare const className: unknown;
|
|
10
9
|
export declare const highlightToday: unknown;
|
|
10
|
+
export declare const calendarClasses: unknown;
|
|
11
|
+
export declare const headerClasses: 'flex items-center justify-between mb-4';
|
|
12
|
+
export declare const monthYearClasses: 'text-lg font-semibold text-gray-900 dark:text-gray-100';
|
|
13
|
+
export declare const buttonClasses: 'p-2 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-md transition-colors';
|
|
14
|
+
export declare const weekdaysClasses: 'grid grid-cols-7 gap-1 mb-2';
|
|
15
|
+
export declare const weekdayClasses: 'text-center text-xs font-medium text-gray-600 dark:text-gray-400 py-2';
|
|
16
|
+
export declare const daysGridClasses: 'grid grid-cols-7 gap-1';
|
|
17
|
+
export declare const initialValueIso: unknown;
|
|
18
|
+
export declare const minIsoValue: unknown;
|
|
19
|
+
export declare const maxIsoValue: unknown;
|
|
20
|
+
export declare const disabledIsoList: (...args: any[]) => any;
|
package/dist/ui/card/Card.stx
CHANGED
|
@@ -4,9 +4,7 @@ export declare const hover: unknown;
|
|
|
4
4
|
export declare const clickable: unknown;
|
|
5
5
|
export declare const image: unknown;
|
|
6
6
|
export declare const imageAlt: unknown;
|
|
7
|
-
export declare const imagePosition: unknown;
|
|
8
7
|
export declare const className: unknown;
|
|
9
|
-
export declare const onClick: unknown;
|
|
10
8
|
export declare const cardClasses: unknown;
|
|
11
9
|
export declare const imageClasses: unknown;
|
|
12
10
|
export declare const contentClasses: unknown;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const checked: unknown;
|
|
2
|
-
export declare const onChange: () => unknown;
|
|
3
2
|
export declare const disabled: unknown;
|
|
4
3
|
export declare const indeterminate: unknown;
|
|
5
4
|
export declare const size: unknown;
|
|
@@ -12,4 +11,5 @@ export declare const name: unknown;
|
|
|
12
11
|
export declare const className: unknown;
|
|
13
12
|
export declare const checkboxClasses: unknown;
|
|
14
13
|
export declare const labelClasses: unknown;
|
|
15
|
-
export declare const descriptionClasses:
|
|
14
|
+
export declare const descriptionClasses: unknown;
|
|
15
|
+
export declare const inputId: () => unknown;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: unknown;
|
|
3
2
|
export declare const className: unknown;
|
|
4
3
|
export declare const as: unknown;
|
|
4
|
+
export declare const comboboxClasses: unknown;
|
|
5
|
+
export declare const comboboxInstanceId: (...args: any[]) => any;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export declare function handleChange(e: unknown): void;
|
|
2
1
|
export declare const displayValue: unknown;
|
|
3
|
-
export declare const onChange: unknown;
|
|
4
2
|
export declare const className: unknown;
|
|
5
3
|
export declare const placeholder: unknown;
|
|
6
4
|
export declare const disabled: unknown;
|
|
7
|
-
declare
|
|
8
|
-
declare class AnonymousClass {}
|
|
5
|
+
export declare const inputClasses: unknown;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
export declare function handleClick(): void;
|
|
2
|
-
export declare function handleMouseEnter(): void;
|
|
3
|
-
export declare function handleMouseLeave(): void;
|
|
4
1
|
export declare const value: unknown;
|
|
5
2
|
export declare const disabled: unknown;
|
|
6
3
|
export declare const className: unknown;
|
|
7
4
|
export declare const as: unknown;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
/** @defaultValue false */
|
|
11
|
-
export declare let active: boolean;
|
|
12
|
-
export declare const selected: unknown;
|
|
13
|
-
declare class AnonymousClass {}
|
|
5
|
+
export declare const optionClasses: unknown;
|
|
6
|
+
export declare const valueJson: unknown;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
export declare function handleClose(): void;
|
|
2
1
|
export declare const open: unknown;
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const query: unknown;
|
|
5
|
-
export declare const onQueryChange: unknown;
|
|
2
|
+
export declare const initialQuery: unknown;
|
|
6
3
|
export declare const className: unknown;
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
4
|
+
export declare const paletteClasses: unknown;
|
|
5
|
+
export declare const paletteInstanceId: (...args: any[]) => any;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export declare function handleClick(): void;
|
|
2
|
-
export declare function handleMouseEnter(): void;
|
|
3
|
-
export declare function handleMouseLeave(): void;
|
|
4
1
|
export declare const className: unknown;
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
export declare let active: boolean;
|
|
8
|
-
declare class AnonymousClass {}
|
|
2
|
+
export declare const value: unknown;
|
|
3
|
+
export declare const itemClasses: unknown;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export declare const open: unknown;
|
|
2
|
-
export declare const onClose: () => unknown;
|
|
3
2
|
export declare const position: unknown;
|
|
4
3
|
export declare const title: unknown;
|
|
5
4
|
export declare const className: unknown;
|
|
6
5
|
export declare const containerClasses: unknown;
|
|
7
6
|
export declare const panelClasses: unknown;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const closeButtonClasses: unknown;
|
|
7
|
+
export declare const closeButtonClasses: () => unknown;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare function toggle(): void;
|
|
2
|
-
export declare function close(): void;
|
|
3
|
-
export declare function open(): void;
|
|
4
1
|
export declare const className: unknown;
|
|
5
2
|
export declare const as: unknown;
|
|
6
|
-
|
|
7
|
-
export declare
|
|
3
|
+
export declare const dropdownClasses: unknown;
|
|
4
|
+
export declare const dropdownInstanceId: (...args: any[]) => any;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export declare function handleClick(e: unknown): void;
|
|
2
1
|
export declare const className: unknown;
|
|
3
2
|
export declare const as: unknown;
|
|
4
3
|
export declare const disabled: unknown;
|
|
5
|
-
export declare const
|
|
6
|
-
declare class AnonymousClass {}
|
|
4
|
+
export declare const buttonClasses: unknown;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
export declare function handleClick(e: unknown): void;
|
|
2
|
-
export declare function handleMouseEnter(): void;
|
|
3
|
-
export declare function handleMouseLeave(): void;
|
|
4
1
|
export declare const className: unknown;
|
|
5
2
|
export declare const as: unknown;
|
|
6
3
|
export declare const disabled: unknown;
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
export declare let active: boolean;
|
|
10
|
-
declare class AnonymousClass {}
|
|
4
|
+
export declare const value: unknown;
|
|
5
|
+
export declare const itemClasses: unknown;
|
package/dist/ui/form/Form.stx
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
export declare const action: unknown;
|
|
2
2
|
export declare const method: unknown;
|
|
3
3
|
export declare const validationSchema: unknown;
|
|
4
|
-
export declare const initialValues: unknown;
|
|
5
|
-
export declare const validateOnChange: unknown;
|
|
6
|
-
export declare const validateOnBlur: unknown;
|
|
7
|
-
export declare const onSubmit: unknown;
|
|
8
|
-
export declare const onError: unknown;
|
|
9
4
|
export declare const className: unknown;
|
|
10
5
|
export declare const formClasses: unknown;
|
|
11
6
|
export declare const errorClasses: unknown;
|
package/dist/ui/image/Image.stx
CHANGED
|
@@ -9,18 +9,13 @@ export declare const height: unknown;
|
|
|
9
9
|
export declare const lazy: unknown;
|
|
10
10
|
export declare const placeholder: unknown;
|
|
11
11
|
export declare const blurDataURL: unknown;
|
|
12
|
-
export declare const onLoad: unknown;
|
|
13
|
-
export declare const onError: unknown;
|
|
14
12
|
export declare const aspectRatio: unknown;
|
|
15
13
|
export declare const objectFit: unknown;
|
|
16
14
|
export declare const rounded: unknown;
|
|
17
15
|
export declare const zoomOnHover: unknown;
|
|
18
16
|
export declare const className: unknown;
|
|
19
|
-
// Has WebP support
|
|
20
17
|
export declare const hasWebP: unknown;
|
|
21
18
|
export declare const containerClasses: unknown;
|
|
22
19
|
export declare const imageClasses: unknown;
|
|
23
|
-
export declare const placeholderClasses: unknown;
|
|
24
20
|
export declare const blurPlaceholderClasses: unknown;
|
|
25
|
-
|
|
26
|
-
export declare const paddingBottom: (...args: any[]) => any;
|
|
21
|
+
export declare const containerStyle: (...args: any[]) => any;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: () => unknown;
|
|
3
2
|
export declare const placeholder: unknown;
|
|
4
3
|
export declare const disabled: unknown;
|
|
5
4
|
export declare const readonly: unknown;
|
|
@@ -9,3 +8,4 @@ export declare const label: unknown;
|
|
|
9
8
|
export declare const helperText: unknown;
|
|
10
9
|
export declare const required: unknown;
|
|
11
10
|
export declare const className: unknown;
|
|
11
|
+
export declare const emailIcon: unknown;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: () => unknown;
|
|
3
2
|
export declare const placeholder: unknown;
|
|
4
3
|
export declare const disabled: unknown;
|
|
5
4
|
export declare const readonly: unknown;
|
|
@@ -14,6 +13,4 @@ export declare const inputClassName: unknown;
|
|
|
14
13
|
export declare const inputClasses: unknown;
|
|
15
14
|
export declare const labelClasses: unknown;
|
|
16
15
|
export declare const helperClasses: unknown;
|
|
17
|
-
export declare const iconClasses:
|
|
18
|
-
export declare const strength: unknown;
|
|
19
|
-
export declare const strengthColor: unknown;
|
|
16
|
+
export declare const iconClasses: (...args: any[]) => any;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: () => unknown;
|
|
3
|
-
export declare const onSearch: () => unknown;
|
|
4
2
|
export declare const placeholder: unknown;
|
|
5
3
|
export declare const disabled: unknown;
|
|
6
4
|
export declare const size: unknown;
|
|
@@ -9,4 +7,6 @@ export declare const label: unknown;
|
|
|
9
7
|
export declare const helperText: unknown;
|
|
10
8
|
export declare const loading: unknown;
|
|
11
9
|
export declare const className: unknown;
|
|
10
|
+
export declare const searchIcon: '<svg fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" /></svg>';
|
|
11
|
+
export declare const spinnerIcon: '<svg class="animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg>';
|
|
12
12
|
export declare const rightIcon: () => unknown;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: () => unknown;
|
|
3
2
|
export declare const placeholder: unknown;
|
|
4
3
|
export declare const disabled: unknown;
|
|
5
4
|
export declare const readonly: unknown;
|
|
@@ -19,4 +18,4 @@ export declare const inputClasses: unknown;
|
|
|
19
18
|
export declare const labelClasses: unknown;
|
|
20
19
|
export declare const helperClasses: unknown;
|
|
21
20
|
export declare const iconClasses: unknown;
|
|
22
|
-
export declare const
|
|
21
|
+
export declare const inputId: () => unknown;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const value: unknown;
|
|
2
|
-
export declare const onChange: unknown;
|
|
3
2
|
export declare const multiple: unknown;
|
|
4
3
|
export declare const className: unknown;
|
|
5
4
|
export declare const as: unknown;
|
|
5
|
+
export declare const listboxClasses: unknown;
|
|
6
|
+
export declare const listboxInstanceId: (...args: any[]) => any;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
export declare function handleClick(): void;
|
|
2
|
-
export declare function handleMouseEnter(): void;
|
|
3
|
-
export declare function handleMouseLeave(): void;
|
|
4
1
|
export declare const value: unknown;
|
|
5
2
|
export declare const disabled: unknown;
|
|
6
3
|
export declare const className: unknown;
|
|
7
4
|
export declare const as: unknown;
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
/** @defaultValue false */
|
|
11
|
-
export declare let active: boolean;
|
|
12
|
-
export declare const selected: unknown;
|
|
13
|
-
declare class AnonymousClass {}
|
|
5
|
+
export declare const optionClasses: unknown;
|
|
6
|
+
export declare const valueJson: unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Navigator Component Props
|
|
2
1
|
export declare const items: unknown;
|
|
3
2
|
export declare const active: unknown;
|
|
4
3
|
export declare const orientation: unknown;
|
|
4
|
+
export declare const variant: unknown;
|
|
5
|
+
export declare const size: unknown;
|
|
5
6
|
export declare const className: unknown;
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare class AnonymousClass {}
|
|
7
|
+
export declare const containerClasses: unknown;
|
|
8
|
+
export declare const gapClasses: unknown;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
export declare function handleClose(): void;
|
|
2
1
|
export declare const show: unknown;
|
|
3
2
|
export declare const title: unknown;
|
|
4
3
|
export declare const message: unknown;
|
|
5
4
|
export declare const type: unknown;
|
|
6
5
|
export declare const position: unknown;
|
|
7
6
|
export declare const duration: unknown;
|
|
8
|
-
export declare const onClose: unknown;
|
|
9
7
|
export declare const className: unknown;
|
|
10
|
-
declare
|
|
11
|
-
@click="handleClose";
|
|
12
|
-
declare class AnonymousClass {}
|
|
8
|
+
export declare const notificationClasses: () => unknown;
|
|
@@ -4,9 +4,8 @@ export declare const siblingCount: unknown;
|
|
|
4
4
|
export declare const showFirstLast: unknown;
|
|
5
5
|
export declare const showPrevNext: unknown;
|
|
6
6
|
export declare const className: unknown;
|
|
7
|
-
export declare const onChange: unknown;
|
|
8
7
|
export declare const paginationClasses: unknown;
|
|
9
8
|
export declare const buttonClasses: unknown;
|
|
10
9
|
export declare const activeButtonClasses: unknown;
|
|
11
10
|
export declare const ellipsisClasses: unknown;
|
|
12
|
-
export declare const iconClasses:
|
|
11
|
+
export declare const iconClasses: (...args: any[]) => any;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
export declare const products: unknown;
|
|
2
|
-
export declare const redirectUrl: unknown;
|
|
3
2
|
export declare const mode: unknown;
|
|
4
3
|
export declare const stripePublicKey: unknown;
|
|
5
4
|
export declare const apiUrl: unknown;
|
|
6
|
-
export declare const onSubmit: unknown;
|
|
7
|
-
export declare const onRemoveProduct: unknown;
|
|
8
5
|
export declare const shipping: unknown;
|
|
9
6
|
export declare const taxes: unknown;
|
|
10
7
|
export declare const className: unknown;
|
|
11
|
-
// For future expansion - one-time payment support
|
|
12
8
|
export declare const isSubscription: unknown;
|
|
13
9
|
export declare const isOneTime: unknown;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
export declare const paymentMethods: unknown;
|
|
2
|
-
export declare const onDeletePaymentMethod: unknown;
|
|
3
|
-
export declare const onMakeDefault: unknown;
|
|
4
2
|
export declare const isLoading: unknown;
|
|
3
|
+
export declare const showMakeDefault: unknown;
|
|
4
|
+
export declare const showDelete: unknown;
|
|
5
5
|
export declare const className: unknown;
|
|
6
|
+
/** @defaultValue `{ visa: '💳', mastercard: '💳', amex: '💳', discover: '💳', default: '💳' }` */
|
|
7
|
+
export declare const brandIcons: {
|
|
8
|
+
/** @defaultValue '💳' */
|
|
9
|
+
visa: string;
|
|
10
|
+
/** @defaultValue '💳' */
|
|
11
|
+
mastercard: string;
|
|
12
|
+
/** @defaultValue '💳' */
|
|
13
|
+
amex: string;
|
|
14
|
+
/** @defaultValue '💳' */
|
|
15
|
+
discover: string;
|
|
16
|
+
/** @defaultValue '💳' */
|
|
17
|
+
default: string
|
|
18
|
+
};
|
|
6
19
|
export declare const containerClasses: unknown;
|
|
@@ -1,191 +1,10 @@
|
|
|
1
1
|
export declare const products: unknown;
|
|
2
2
|
export declare const stripePublicKey: unknown;
|
|
3
3
|
export declare const apiUrl: unknown;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const onRemoveProduct: unknown;
|
|
4
|
+
export declare const showRemoveProduct: unknown;
|
|
6
5
|
export declare const shipping: unknown;
|
|
7
6
|
export declare const taxes: unknown;
|
|
8
7
|
export declare const className: unknown;
|
|
9
|
-
|
|
10
|
-
export declare const calculateSubtotal: () => unknown;
|
|
8
|
+
export declare const subtotal: () => unknown;
|
|
11
9
|
export declare const total: unknown;
|
|
12
|
-
export declare const containerClasses: (
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<div class="{{ containerClasses }}">
|
|
16
|
-
<div class="mx-auto max-w-2xl px-4 pb-24 pt-16 lg:max-w-7xl lg:px-8 sm:px-6">
|
|
17
|
-
<h2 class="sr-only">Checkout</h2>
|
|
18
|
-
|
|
19
|
-
<form class="lg:grid lg:grid-cols-2 lg:gap-x-12 xl:gap-x-16" onsubmit="event.preventDefault(); handleCheckoutSubmit(event)">
|
|
20
|
-
<!-- Left Column - Contact & Payment -->
|
|
21
|
-
<div>
|
|
22
|
-
<!-- Contact Information -->
|
|
23
|
-
<div>
|
|
24
|
-
<h2 class="text-lg text-gray-900 dark:text-gray-100 font-medium">
|
|
25
|
-
Contact information
|
|
26
|
-
</h2>
|
|
27
|
-
|
|
28
|
-
<div class="mt-4">
|
|
29
|
-
<label for="email-address" class="block text-sm text-gray-700 dark:text-gray-300 font-medium">
|
|
30
|
-
Email address
|
|
31
|
-
</label>
|
|
32
|
-
<div class="mt-1">
|
|
33
|
-
<input
|
|
34
|
-
id="email-address"
|
|
35
|
-
type="email"
|
|
36
|
-
name="email-address"
|
|
37
|
-
autocomplete="email"
|
|
38
|
-
required
|
|
39
|
-
class="block w-full border border-gray-300 dark:border-gray-600 rounded-md p-2 shadow-sm bg-white dark:bg-blue-gray-700 text-gray-900 dark:text-gray-100 focus:border-indigo-500 dark:focus:border-indigo-400 sm:text-sm focus:ring-indigo-500 dark:focus:ring-indigo-400"
|
|
40
|
-
/>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<!-- Billing Information -->
|
|
46
|
-
<div class="mt-10 border-t border-gray-200 dark:border-gray-700 pt-10">
|
|
47
|
-
<h2 class="text-lg text-gray-900 dark:text-gray-100 font-medium">
|
|
48
|
-
Billing information
|
|
49
|
-
</h2>
|
|
50
|
-
|
|
51
|
-
<div class="mt-4 grid grid-cols-1 gap-y-6 sm:grid-cols-2 sm:gap-x-4">
|
|
52
|
-
<div class="sm:col-span-2">
|
|
53
|
-
<label for="card-name" class="block text-sm text-gray-700 dark:text-gray-300 font-medium">
|
|
54
|
-
Name on card
|
|
55
|
-
</label>
|
|
56
|
-
<div class="mt-1">
|
|
57
|
-
<input
|
|
58
|
-
type="text"
|
|
59
|
-
id="card-name"
|
|
60
|
-
name="card-name"
|
|
61
|
-
autocomplete="cc-name"
|
|
62
|
-
required
|
|
63
|
-
class="block w-full border border-gray-300 dark:border-gray-600 rounded-md p-2 shadow-sm bg-white dark:bg-blue-gray-700 text-gray-900 dark:text-gray-100 focus:border-indigo-500 sm:text-sm focus:ring-indigo-500"
|
|
64
|
-
/>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
|
|
68
|
-
<!-- Stripe Element Mount Point -->
|
|
69
|
-
<div class="sm:col-span-2">
|
|
70
|
-
<div id="payment-element" class="mt-2 border border-gray-300 dark:border-gray-600 rounded-md bg-white dark:bg-blue-gray-700 p-3"></div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
<!-- Payment Type -->
|
|
76
|
-
<div class="mt-10 border-t border-gray-200 dark:border-gray-700 pt-10">
|
|
77
|
-
<h2 class="text-lg text-gray-900 dark:text-gray-100 font-medium">
|
|
78
|
-
Payment
|
|
79
|
-
</h2>
|
|
80
|
-
|
|
81
|
-
<fieldset class="mt-4">
|
|
82
|
-
<legend class="sr-only">Payment type</legend>
|
|
83
|
-
<div class="sm:flex sm:items-center space-y-4 sm:space-x-10 sm:space-y-0">
|
|
84
|
-
<div class="flex items-center">
|
|
85
|
-
<input
|
|
86
|
-
id="credit-card"
|
|
87
|
-
name="payment-type"
|
|
88
|
-
type="radio"
|
|
89
|
-
checked
|
|
90
|
-
class="h-4 w-4 border-gray-300 dark:border-gray-600 text-indigo-600 dark:text-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"
|
|
91
|
-
/>
|
|
92
|
-
<label for="credit-card" class="ml-3 block text-sm text-gray-700 dark:text-gray-300 font-medium">
|
|
93
|
-
Credit card
|
|
94
|
-
</label>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</fieldset>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
<!-- Right Column - Order Summary -->
|
|
102
|
-
<div class="mt-10 lg:mt-0">
|
|
103
|
-
<h2 class="text-lg text-gray-900 dark:text-gray-100 font-medium">
|
|
104
|
-
Order summary
|
|
105
|
-
</h2>
|
|
106
|
-
|
|
107
|
-
<div class="mt-4 border border-gray-200 dark:border-gray-700 rounded-lg bg-white dark:bg-blue-gray-800 shadow-sm">
|
|
108
|
-
<h3 class="sr-only">Items in your cart</h3>
|
|
109
|
-
|
|
110
|
-
<!-- Product List -->
|
|
111
|
-
<ul role="list" class="divide-y divide-gray-200 dark:divide-gray-700">
|
|
112
|
-
@foreach(product in products)
|
|
113
|
-
<li class="flex px-4 py-6 sm:px-6">
|
|
114
|
-
<div class="flex-shrink-0">
|
|
115
|
-
@if(product.images)
|
|
116
|
-
<img src="{{ product.images }}" alt="{{ product.name }}" class="w-20 rounded-md" />
|
|
117
|
-
@else
|
|
118
|
-
<div class="w-20 h-20 bg-gray-200 dark:bg-gray-700 rounded-md flex items-center justify-center">
|
|
119
|
-
<svg class="h-8 w-8 text-gray-400" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
120
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />
|
|
121
|
-
</svg>
|
|
122
|
-
</div>
|
|
123
|
-
@endif
|
|
124
|
-
</div>
|
|
125
|
-
|
|
126
|
-
<div class="ml-6 flex flex-1 flex-col">
|
|
127
|
-
<div class="flex">
|
|
128
|
-
<div class="min-w-0 flex-1">
|
|
129
|
-
<h4 class="text-sm">
|
|
130
|
-
<a href="#" class="text-gray-700 dark:text-gray-300 font-medium hover:text-gray-800 dark:hover:text-gray-200">
|
|
131
|
-
{{ product.name }}
|
|
132
|
-
</a>
|
|
133
|
-
</h4>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
@if(onRemoveProduct)
|
|
137
|
-
<div class="ml-4 flow-root flex-shrink-0">
|
|
138
|
-
<button
|
|
139
|
-
type="button"
|
|
140
|
-
class="flex items-center justify-center bg-white dark:bg-blue-gray-700 p-2.5 text-gray-400 dark:text-gray-500 -m-2.5 hover:text-gray-500 dark:hover:text-gray-400"
|
|
141
|
-
@click="handleRemoveProduct('{{ product.id }}')"
|
|
142
|
-
title="Remove"
|
|
143
|
-
>
|
|
144
|
-
<span class="sr-only">Remove</span>
|
|
145
|
-
<svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
|
146
|
-
<path fill-rule="evenodd" d="M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z" clip-rule="evenodd" />
|
|
147
|
-
</svg>
|
|
148
|
-
</button>
|
|
149
|
-
</div>
|
|
150
|
-
@endif
|
|
151
|
-
</div>
|
|
152
|
-
|
|
153
|
-
<div class="flex flex-1 items-end justify-between pt-2">
|
|
154
|
-
<p class="mt-1 text-sm text-gray-900 dark:text-gray-100 font-medium">
|
|
155
|
-
${{ (product.price / 100).toFixed(2) }}
|
|
156
|
-
</p>
|
|
157
|
-
|
|
158
|
-
<div class="ml-4">
|
|
159
|
-
<label for="quantity-{{ product.id }}" class="sr-only">Quantity</label>
|
|
160
|
-
<select
|
|
161
|
-
id="quantity-{{ product.id }}"
|
|
162
|
-
name="quantity"
|
|
163
|
-
class="border border-gray-300 dark:border-gray-600 rounded-md text-left text-base text-gray-700 dark:text-gray-300 font-medium shadow-sm bg-white dark:bg-blue-gray-700 focus:border-indigo-500 sm:text-sm focus:outline-none focus:ring-1 focus:ring-indigo-500"
|
|
164
|
-
>
|
|
165
|
-
<option value="1" {{ (product.quantity || 1) === 1 ? 'selected' : '' }}>1</option>
|
|
166
|
-
<option value="2" {{ (product.quantity || 1) === 2 ? 'selected' : '' }}>2</option>
|
|
167
|
-
<option value="3" {{ (product.quantity || 1) === 3 ? 'selected' : '' }}>3</option>
|
|
168
|
-
<option value="4" {{ (product.quantity || 1) === 4 ? 'selected' : '' }}>4</option>
|
|
169
|
-
<option value="5" {{ (product.quantity || 1) === 5 ? 'selected' : '' }}>5</option>
|
|
170
|
-
<option value="6" {{ (product.quantity || 1) === 6 ? 'selected' : '' }}>6</option>
|
|
171
|
-
<option value="7" {{ (product.quantity || 1) === 7 ? 'selected' : '' }}>7</option>
|
|
172
|
-
<option value="8" {{ (product.quantity || 1) === 8 ? 'selected' : '' }}>8</option>
|
|
173
|
-
</select>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</li>
|
|
178
|
-
@endforeach
|
|
179
|
-
</ul>
|
|
180
|
-
|
|
181
|
-
<!-- Summary Totals -->
|
|
182
|
-
<dl class="border-t border-gray-200 dark:border-gray-700 px-4 py-6 space-y-6 sm:px-6">
|
|
183
|
-
<div class="flex items-center justify-between">
|
|
184
|
-
<dt class="text-sm text-gray-600 dark:text-gray-400">Subtotal</dt>
|
|
185
|
-
<dd class="text-sm text-gray-900 dark:text-gray-100 font-medium">
|
|
186
|
-
${{ (calculateSubtotal() / 100).toFixed(2) }}
|
|
187
|
-
</dd>
|
|
188
|
-
</div>
|
|
189
|
-
|
|
190
|
-
@if(shipping > 0)
|
|
191
|
-
<div class?: unknown) => unknown;
|
|
10
|
+
export declare const containerClasses: (...args: any[]) => any;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare function toggle(): void;
|
|
2
|
-
export declare function close(): void;
|
|
3
|
-
export declare function open(): void;
|
|
4
1
|
export declare const className: unknown;
|
|
5
2
|
export declare const as: unknown;
|
|
6
|
-
|
|
7
|
-
export declare
|
|
3
|
+
export declare const popoverClasses: unknown;
|
|
4
|
+
export declare const popoverInstanceId: (...args: any[]) => any;
|