@pickle-ui/react 1.0.0-beta.5 → 1.0.0-beta.7
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/components/Alert.d.ts.map +1 -1
- package/dist/components/Alert.js.map +1 -1
- package/dist/components/AlertDialog.d.ts.map +1 -1
- package/dist/components/AlertDialog.js.map +1 -1
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/Card.js.map +1 -1
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js.map +1 -1
- package/dist/components/Flex.d.ts.map +1 -1
- package/dist/components/Flex.js.map +1 -1
- package/dist/components/Grid.d.ts.map +1 -1
- package/dist/components/Grid.js.map +1 -1
- package/dist/components/Group.d.ts.map +1 -1
- package/dist/components/Group.js.map +1 -1
- package/dist/components/Menu.d.ts.map +1 -1
- package/dist/components/Menu.js.map +1 -1
- package/dist/components/Popover.js.map +1 -1
- package/dist/components/Progress.js.map +1 -1
- package/dist/components/ScrollArea.js.map +1 -1
- package/dist/components/Separator.js.map +1 -1
- package/dist/components/Sidebar.js.map +1 -1
- package/dist/components/Spinner.js.map +1 -1
- package/dist/components/Table.js.map +1 -1
- package/dist/components/Text.js.map +1 -1
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toast.js.map +1 -1
- package/dist/components/Tooltip.js.map +1 -1
- package/dist/components/XStack.d.ts.map +1 -1
- package/dist/components/XStack.js.map +1 -1
- package/dist/components/YStack.d.ts.map +1 -1
- package/dist/components/YStack.js.map +1 -1
- package/dist/components/_internal/dialog-styles.d.ts.map +1 -1
- package/dist/components/_internal/dialog-styles.js.map +1 -1
- package/dist/components/_internal/layout.js.map +1 -1
- package/dist/components/form/Checkbox.d.ts.map +1 -1
- package/dist/components/form/Checkbox.js.map +1 -1
- package/dist/components/form/ColorPickerPrimitive.d.ts +5 -5
- package/dist/components/form/ColorPickerPrimitive.d.ts.map +1 -1
- package/dist/components/form/ColorPickerPrimitive.js +6 -6
- package/dist/components/form/ColorPickerPrimitive.js.map +1 -1
- package/dist/components/form/Combobox.d.ts.map +1 -1
- package/dist/components/form/Combobox.js.map +1 -1
- package/dist/components/form/Form.d.ts +1 -1
- package/dist/components/form/Form.d.ts.map +1 -1
- package/dist/components/form/Form.js +1 -1
- package/dist/components/form/Form.js.map +1 -1
- package/dist/components/form/FormCheckbox.d.ts +2 -2
- package/dist/components/form/FormCheckbox.d.ts.map +1 -1
- package/dist/components/form/FormCheckbox.js +1 -1
- package/dist/components/form/FormCheckbox.js.map +1 -1
- package/dist/components/form/FormDescription.js.map +1 -1
- package/dist/components/form/FormError.js.map +1 -1
- package/dist/components/form/FormField.d.ts.map +1 -1
- package/dist/components/form/FormField.js.map +1 -1
- package/dist/components/form/FormInput.d.ts +1 -1
- package/dist/components/form/FormInput.d.ts.map +1 -1
- package/dist/components/form/FormInput.js +2 -2
- package/dist/components/form/FormInput.js.map +1 -1
- package/dist/components/form/FormInputGroup.d.ts +1 -1
- package/dist/components/form/FormInputGroup.d.ts.map +1 -1
- package/dist/components/form/FormInputGroup.js +1 -1
- package/dist/components/form/FormInputGroup.js.map +1 -1
- package/dist/components/form/FormLabel.js.map +1 -1
- package/dist/components/form/FormRadioGroup.d.ts.map +1 -1
- package/dist/components/form/FormRoot.js.map +1 -1
- package/dist/components/form/FormSwitch.d.ts +2 -2
- package/dist/components/form/FormSwitch.d.ts.map +1 -1
- package/dist/components/form/FormSwitch.js +1 -1
- package/dist/components/form/FormSwitch.js.map +1 -1
- package/dist/components/form/FormTextarea.d.ts +1 -1
- package/dist/components/form/FormTextarea.d.ts.map +1 -1
- package/dist/components/form/FormTextarea.js +1 -1
- package/dist/components/form/FormTextarea.js.map +1 -1
- package/dist/components/form/Input.d.ts.map +1 -1
- package/dist/components/form/Input.js.map +1 -1
- package/dist/components/form/InputGroup.d.ts.map +1 -1
- package/dist/components/form/InputGroup.js.map +1 -1
- package/dist/components/form/RadioGroup.d.ts.map +1 -1
- package/dist/components/form/RadioGroup.js.map +1 -1
- package/dist/components/form/Select.d.ts.map +1 -1
- package/dist/components/form/Select.js.map +1 -1
- package/dist/components/form/Slider.d.ts.map +1 -1
- package/dist/components/form/Slider.js.map +1 -1
- package/dist/components/form/Switch.d.ts.map +1 -1
- package/dist/components/form/Switch.js.map +1 -1
- package/dist/components/form/Textarea.d.ts.map +1 -1
- package/dist/components/form/Textarea.js.map +1 -1
- package/dist/hooks/use-as-ref.js +1 -1
- package/dist/hooks/use-as-ref.js.map +1 -1
- package/package.json +4 -2
- package/src/base.css +1 -1
- package/src/components/Alert.tsx +1 -2
- package/src/components/AlertDialog.tsx +1 -2
- package/src/components/Avatar.tsx +1 -1
- package/src/components/Badge.tsx +1 -1
- package/src/components/Button.tsx +1 -2
- package/src/components/Card.tsx +1 -2
- package/src/components/Dialog.tsx +1 -2
- package/src/components/Flex.tsx +1 -2
- package/src/components/Grid.tsx +1 -2
- package/src/components/Group.tsx +1 -2
- package/src/components/Menu.tsx +1 -2
- package/src/components/Popover.tsx +1 -1
- package/src/components/Progress.tsx +1 -1
- package/src/components/ScrollArea.tsx +1 -1
- package/src/components/Separator.tsx +1 -1
- package/src/components/Sidebar.tsx +1 -1
- package/src/components/Spinner.tsx +1 -1
- package/src/components/Table.tsx +1 -1
- package/src/components/Text.tsx +1 -1
- package/src/components/Toast.tsx +1 -2
- package/src/components/Tooltip.tsx +1 -1
- package/src/components/XStack.tsx +1 -2
- package/src/components/YStack.tsx +1 -2
- package/src/components/_internal/Story.tsx +1 -2
- package/src/components/_internal/dialog-styles.ts +1 -2
- package/src/components/_internal/layout.ts +1 -1
- package/src/components/form/Checkbox.tsx +1 -1
- package/src/components/form/ColorPickerPrimitive.tsx +18 -19
- package/src/components/form/Combobox.tsx +1 -2
- package/src/components/form/Form.tsx +1 -2
- package/src/components/form/FormCheckbox.tsx +1 -2
- package/src/components/form/FormDescription.tsx +1 -1
- package/src/components/form/FormError.tsx +1 -1
- package/src/components/form/FormField.tsx +1 -2
- package/src/components/form/FormInput.tsx +2 -3
- package/src/components/form/FormInputGroup.tsx +1 -2
- package/src/components/form/FormLabel.tsx +1 -1
- package/src/components/form/FormRoot.tsx +1 -1
- package/src/components/form/FormSwitch.tsx +1 -2
- package/src/components/form/FormTextarea.tsx +1 -2
- package/src/components/form/Input.tsx +1 -1
- package/src/components/form/InputGroup.tsx +1 -2
- package/src/components/form/RadioGroup.tsx +1 -1
- package/src/components/form/Select.stories.tsx +1 -2
- package/src/components/form/Select.tsx +1 -1
- package/src/components/form/Slider.tsx +1 -1
- package/src/components/form/Switch.tsx +1 -1
- package/src/components/form/Textarea.tsx +1 -1
- package/src/hooks/use-as-ref.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/components/form/Select.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EACL,SAAS,EACT,eAAe,EACf,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/components/form/Select.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EACL,SAAS,EACT,eAAe,EACf,aAAa,EACb,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAuB,MAAM,iBAAiB,CAAC;AAiC1D,8EAA8E;AAC9E,SAAS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S,gBAAgB,KACtB,KAAK,aAER,QAAQ,EACT,KAAC,eAAe,CAAC,IAAI,IACnB,SAAS,EAAE,EAAE,CAAC,uBAAuB,EAAE,UAAU,EAAE,IAAI,CAAC,eAC9C,qBAAqB,YAE/B,KAAC,YAAY,IAAC,SAAS,EAAC,4BAA4B,GAAG,GAClC,IACC,CAC3B,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,GAAG,KAAK,EAAoB;IACjD,OAAO,KAAC,eAAe,CAAC,KAAK,iBAAW,cAAc,KAAK,KAAK,GAAI,CAAC;AACvE,CAAC;AAED,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IACvC,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,WAAW;IAClB,UAAU,EAAE,gBAAgB;IAC5B,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,WAAW;IAClB,SAAS,EAAE,eAAe;IAC1B,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC,CAAC;AAEH,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/form/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAM,KAAK,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/form/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;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AO,EACP,IAAQ,GACT,EAAE,gBAAgB,+BAoClB;AAED,iBAAS,UAAU,CAAC,EAClB,kBAAkB,EAAE,eAAe,EACnC,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,QAAQ,EACR,SAAS,EACT,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,SAAgB,EAChB,GAAS,EACT,GAAO,EACP,GAAG,EACH,UAAU,EACV,KAAK,EACL,GAAG,KAAK,EACT,EAAE,WAAW,+BAsEb;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BASlE;AAED,QAAA,MAAM,MAAM;;;;CAIV,CAAC;AAEH,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;AACnC,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,GACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/components/form/Slider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,EAAE,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/components/form/Slider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,EAAE,EAAuB,MAAM,iBAAiB,CAAC;AA4B1D,SAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,EAAoB;IACjE,OAAO,CACL,KAAC,eAAe,CAAC,KAAK,IACpB,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,eACrC,cAAc,EACxB,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACH,CAAC;AACJ,C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Y,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../../src/components/form/Switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../../src/components/form/Switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAuB,MAAM,iBAAiB,CAAC;AAc1D,SAAS,aAAa,CAAC,EACrB,SAAS,EACT,UAAU,EACV,GAAG,KAAK,EACW;IACnB,OAAO,CACL,KAAC,eAAe,CAAC,IAAI,IACnB,SAAS,EAAE,EAAE,CACX,8aAA8a,EAC9a,SAAS,CACV,eACS,QAAQ,KACd,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,IACpB,SAAS,EAAE,EAAE,CACX,0jBAA0jB,EAC1jB,UAAU,EAAE,KAAK,CAClB,eACS,cAAc,GACxB,GACmB,CACxB,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAoB;IACrE,OAAO,CACL,gBACE,SAAS,EAAE,EAAE,CACX,yMAAyM,EACzM,SAAS,CACV,eACS,cAAc,EACxB,OAAO,EAAE,OAAO,KACZ,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,EAAe;IAClE,MAAM,WAAW,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;IAClC,MAAM,QAAQ,GAAG,EAAE,IAAI,WAAW,CAAC;IAEnC,OAAO,CACL,eACE,SAAS,EAAE,EAAE,CAAC,yBAAyB,EAAE,UAAU,EAAE,KAAK,CAAC,eACjD,cAAc,aAExB,KAAC,aAAa,IAAC,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,KAAM,KAAK,GAAI,EAClE,KAAC,WAAW,IAAC,SAAS,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,YACzD,KAAK,GACM,IACV,CACP,CAAC;AACJ,CAAC;AAED,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;IACvC,KAAK,EAAE,WAAW;CACnB,CAAC,CAAC;AAEH,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/form/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAM,KAAK,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/form/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAM,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE1D,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG;IACtD,wFAAwF;IACxF,UAAU,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,IAAW,EACX,GAAG,KAAK,EACT,EAAE,aAAa,qBAsBf;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../src/components/form/Textarea.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAuB,MAAM,
|
|
1
|
+
{"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../../src/components/form/Textarea.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,EAAE,EAAuB,MAAM,iBAAiB,CAAC;AAQ1D;;;;GAIG;AACH,SAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,IAAI,GAAG,IAAI,EACX,GAAG,KAAK,EACM;IACd,OAAO,CACL,eACE,SAAS,EAAE,EAAE,CACX,42BAA42B,EAC52B,SAAS,CACV,eACU,IAAI,eACL,kBAAkB,YAE5B,mBACE,SAAS,EAAE,EAAE,CACX,yJAAyJ,EACzJ,IAAI,KAAK,IAAI,IAAI,wCAAwC,EACzD,IAAI,KAAK,IAAI,IAAI,UAAU,EAC3B,UAAU,EAAE,QAAQ,CACrB,eACS,UAAU,KAChB,KAAK,GACT,GACG,CACR,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/hooks/use-as-ref.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { useIsomorphicLayoutEffect } from '
|
|
2
|
+
import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect.js';
|
|
3
3
|
function useAsRef(props) {
|
|
4
4
|
const ref = React.useRef(props);
|
|
5
5
|
useIsomorphicLayoutEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-as-ref.js","sourceRoot":"","sources":["../../src/hooks/use-as-ref.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"use-as-ref.js","sourceRoot":"","sources":["../../src/hooks/use-as-ref.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,SAAS,QAAQ,CAAI,KAAQ;IAC3B,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAI,KAAK,CAAC,CAAC;IAEnC,yBAAyB,CAAC,GAAG,EAAE;QAC7B,GAAG,CAAC,OAAO,GAAG,KAAK,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pickle-ui/react",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React component library built with Base UI, shadcn/ui, Tailwind CSS, and reui.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
+
"@pickle-ui/source": "./src/index.ts",
|
|
22
23
|
"types": "./dist/index.d.ts",
|
|
23
24
|
"import": "./dist/index.js",
|
|
24
25
|
"default": "./dist/index.js"
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"./theme.css": "./src/theme.css",
|
|
28
29
|
"./base.css": "./src/base.css",
|
|
29
30
|
"./*": {
|
|
31
|
+
"@pickle-ui/source": "./src/entries/*.ts",
|
|
30
32
|
"types": "./dist/entries/*.d.ts",
|
|
31
33
|
"import": "./dist/entries/*.js",
|
|
32
34
|
"default": "./dist/entries/*.js"
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
"culori": "^4.0.2",
|
|
55
57
|
"tailwind-merge": "^3.6.0",
|
|
56
58
|
"tw-animate-css": "^1.4.0",
|
|
57
|
-
"@pickle-ui/tokens": "1.0.0-beta.
|
|
59
|
+
"@pickle-ui/tokens": "1.0.0-beta.6"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
|
60
62
|
"@fontsource-variable/geist": "5.2.9",
|
package/src/base.css
CHANGED
package/src/components/Alert.tsx
CHANGED
|
@@ -2,8 +2,7 @@ import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog
|
|
|
2
2
|
import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { cn } from '
|
|
6
|
-
|
|
5
|
+
import { cn } from '../lib/utils';
|
|
7
6
|
import {
|
|
8
7
|
dialogBackdropClassName,
|
|
9
8
|
dialogDescriptionClassName,
|
package/src/components/Badge.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
5
|
|
|
6
6
|
const badgeVariants = cva(
|
|
7
7
|
"relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap rounded-sm border border-transparent font-medium outline-none transition-shadow focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button&,a&]:cursor-pointer [button&,a&]:pointer-coarse:after:absolute [button&,a&]:pointer-coarse:after:size-full [button&,a&]:pointer-coarse:after:min-h-11 [button&,a&]:pointer-coarse:after:min-w-11",
|
|
@@ -4,8 +4,7 @@ import { mergeProps } from '@base-ui/react/merge-props';
|
|
|
4
4
|
import { useRender } from '@base-ui/react/use-render';
|
|
5
5
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
6
6
|
|
|
7
|
-
import { cn, type SlotClassNames } from '
|
|
8
|
-
|
|
7
|
+
import { cn, type SlotClassNames } from '../lib/utils';
|
|
9
8
|
import { Spinner } from './Spinner';
|
|
10
9
|
|
|
11
10
|
const buttonVariants = cva(
|
package/src/components/Card.tsx
CHANGED
|
@@ -2,8 +2,7 @@ import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
|
2
2
|
import { IconX } from '@tabler/icons-react';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { cn } from '
|
|
6
|
-
|
|
5
|
+
import { cn } from '../lib/utils';
|
|
7
6
|
import {
|
|
8
7
|
dialogBackdropClassName,
|
|
9
8
|
dialogDescriptionClassName,
|
package/src/components/Flex.tsx
CHANGED
package/src/components/Grid.tsx
CHANGED
package/src/components/Group.tsx
CHANGED
|
@@ -5,8 +5,7 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
5
5
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
|
-
import { cn } from '
|
|
9
|
-
|
|
8
|
+
import { cn } from '../lib/utils';
|
|
10
9
|
import { Separator, type SeparatorProps } from './Separator';
|
|
11
10
|
|
|
12
11
|
const groupVariants = cva(
|
package/src/components/Menu.tsx
CHANGED
|
@@ -7,8 +7,7 @@ import {
|
|
|
7
7
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
8
8
|
import * as React from 'react';
|
|
9
9
|
|
|
10
|
-
import { cn } from '
|
|
11
|
-
|
|
10
|
+
import { cn } from '../lib/utils';
|
|
12
11
|
import { Text, type TextProps } from './Text';
|
|
13
12
|
|
|
14
13
|
type MenuCheckboxItemProps = React.ComponentProps<
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
5
|
|
|
6
6
|
type PopoverAnchorProps = React.ComponentProps<'div'>;
|
|
7
7
|
type PopoverContentProps = Pick<
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Progress as ProgressPrimitive } from '@base-ui/react/progress';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
5
|
|
|
6
6
|
type ProgressIndicatorProps = React.ComponentProps<
|
|
7
7
|
typeof ProgressPrimitive.Indicator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
5
|
|
|
6
6
|
type ScrollAreaContentProps = React.ComponentProps<
|
|
7
7
|
typeof ScrollAreaPrimitive.Content
|
package/src/components/Table.tsx
CHANGED
package/src/components/Text.tsx
CHANGED
package/src/components/Toast.tsx
CHANGED
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
import { cva } from 'class-variance-authority';
|
|
12
12
|
import * as React from 'react';
|
|
13
13
|
|
|
14
|
-
import { cn } from '
|
|
15
|
-
|
|
14
|
+
import { cn } from '../lib/utils';
|
|
16
15
|
import { buttonVariants } from './Button';
|
|
17
16
|
import { Spinner } from './Spinner';
|
|
18
17
|
import { Text } from './Text';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
|
-
import { cn } from '
|
|
4
|
+
import { cn } from '../lib/utils';
|
|
5
5
|
|
|
6
6
|
type TooltipContentProps = Pick<
|
|
7
7
|
React.ComponentProps<typeof TooltipPrimitive.Positioner>,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
2
2
|
|
|
3
|
-
import { cn } from '
|
|
4
|
-
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
5
4
|
import { textVariants } from '../Text';
|
|
6
5
|
|
|
7
6
|
/** Shared look for `Dialog` and `AlertDialog`; not part of the public API. */
|
|
@@ -4,7 +4,7 @@ import { Checkbox as CheckboxPrimitive } from '@base-ui/react/checkbox';
|
|
|
4
4
|
import { IconCheck, IconMinus } from '@tabler/icons-react';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
|
|
7
|
-
import { cn, type SlotClassNames } from '
|
|
7
|
+
import { cn, type SlotClassNames } from '../../lib/utils';
|
|
8
8
|
|
|
9
9
|
type CheckboxLabelProps = Omit<React.ComponentProps<'label'>, 'htmlFor'> & {
|
|
10
10
|
htmlFor: string;
|
|
@@ -5,21 +5,9 @@ import { useRender } from '@base-ui/react/use-render';
|
|
|
5
5
|
import { IconColorPicker } from '@tabler/icons-react';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
Select,
|
|
13
|
-
SelectContent,
|
|
14
|
-
SelectItem,
|
|
15
|
-
SelectTrigger,
|
|
16
|
-
SelectValue,
|
|
17
|
-
} from '@/components/form/Select';
|
|
18
|
-
import { Slider } from '@/components/form/Slider';
|
|
19
|
-
import { Popover, PopoverContent, PopoverTrigger } from '@/components/Popover';
|
|
20
|
-
import { useAsRef } from '@/hooks/use-as-ref';
|
|
21
|
-
import { useIsomorphicLayoutEffect } from '@/hooks/use-isomorphic-layout-effect';
|
|
22
|
-
import { useLazyRef } from '@/hooks/use-lazy-ref';
|
|
8
|
+
import { useAsRef } from '../../hooks/use-as-ref';
|
|
9
|
+
import { useIsomorphicLayoutEffect } from '../../hooks/use-isomorphic-layout-effect';
|
|
10
|
+
import { useLazyRef } from '../../hooks/use-lazy-ref';
|
|
23
11
|
import {
|
|
24
12
|
type ColorFormat,
|
|
25
13
|
colorFormats,
|
|
@@ -35,11 +23,22 @@ import {
|
|
|
35
23
|
rgbToHex,
|
|
36
24
|
rgbToHsl,
|
|
37
25
|
rgbToHsv,
|
|
38
|
-
} from '
|
|
39
|
-
import { useComposedRefs } from '
|
|
40
|
-
import { cn } from '
|
|
41
|
-
|
|
26
|
+
} from '../../lib/color';
|
|
27
|
+
import { useComposedRefs } from '../../lib/compose-refs';
|
|
28
|
+
import { cn } from '../../lib/utils';
|
|
42
29
|
import { VisuallyHiddenInput } from '../_internal/VisuallyHiddenInput';
|
|
30
|
+
import { Button } from '../Button';
|
|
31
|
+
import { Popover, PopoverContent, PopoverTrigger } from '../Popover';
|
|
32
|
+
import { Input } from './Input';
|
|
33
|
+
import { InputGroup, InputGroupInput } from './InputGroup';
|
|
34
|
+
import {
|
|
35
|
+
Select,
|
|
36
|
+
SelectContent,
|
|
37
|
+
SelectItem,
|
|
38
|
+
SelectTrigger,
|
|
39
|
+
SelectValue,
|
|
40
|
+
} from './Select';
|
|
41
|
+
import { Slider } from './Slider';
|
|
43
42
|
|
|
44
43
|
const ROOT_NAME = 'ColorPicker';
|
|
45
44
|
const ROOT_IMPL_NAME = 'ColorPickerImpl';
|
|
@@ -4,8 +4,7 @@ import { Combobox as ComboboxPrimitive } from '@base-ui/react/combobox';
|
|
|
4
4
|
import { IconCheck, IconPlus, IconSelector, IconX } from '@tabler/icons-react';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
|
|
7
|
-
import { cn, type SlotClassNames } from '
|
|
8
|
-
|
|
7
|
+
import { cn, type SlotClassNames } from '../../lib/utils';
|
|
9
8
|
import { Input, type InputProps } from './Input';
|
|
10
9
|
|
|
11
10
|
type ComboboxChipProps = React.ComponentProps<typeof ComboboxPrimitive.Chip> & {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { Button } from '
|
|
4
|
-
|
|
3
|
+
import { Button } from '../Button';
|
|
5
4
|
import { FormCheckbox, type FormCheckboxProps } from './FormCheckbox';
|
|
6
5
|
import { FormCombobox, type FormComboboxProps } from './FormCombobox';
|
|
7
6
|
import { FormDescription, type FormDescriptionProps } from './FormDescription';
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { Input } from '@/components/form/Input';
|
|
6
|
-
import { InputGroupInput } from '@/components/form/InputGroup';
|
|
7
|
-
|
|
8
5
|
import {
|
|
9
6
|
FormInputGroupContext,
|
|
10
7
|
useFormControlProps,
|
|
@@ -12,6 +9,8 @@ import {
|
|
|
12
9
|
useRequiredFieldName,
|
|
13
10
|
type WithoutAriaInvalid,
|
|
14
11
|
} from './Form.context';
|
|
12
|
+
import { Input } from './Input';
|
|
13
|
+
import { InputGroupInput } from './InputGroup';
|
|
15
14
|
|
|
16
15
|
type FormInputProps = WithoutAriaInvalid<React.ComponentProps<typeof Input>>;
|
|
17
16
|
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { InputGroup } from '@/components/form/InputGroup';
|
|
6
|
-
|
|
7
5
|
import { FormFieldContext, FormInputGroupContext } from './Form.context';
|
|
8
6
|
import { FormInput, type FormInputProps } from './FormInput';
|
|
7
|
+
import { InputGroup } from './InputGroup';
|
|
9
8
|
|
|
10
9
|
type FormInputGroupProps = React.ComponentProps<typeof InputGroup>;
|
|
11
10
|
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import { useController } from 'react-hook-form';
|
|
4
4
|
|
|
5
|
-
import { Switch, type SwitchProps } from '@/components/form/Switch';
|
|
6
|
-
|
|
7
5
|
import {
|
|
8
6
|
useFormControlProps,
|
|
9
7
|
useFormMethods,
|
|
10
8
|
useRequiredFieldName,
|
|
11
9
|
type WithoutAriaInvalid,
|
|
12
10
|
} from './Form.context';
|
|
11
|
+
import { Switch, type SwitchProps } from './Switch';
|
|
13
12
|
|
|
14
13
|
type FormSwitchProps = WithoutAriaInvalid<SwitchProps>;
|
|
15
14
|
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { Textarea } from '@/components/form/Textarea';
|
|
6
|
-
|
|
7
5
|
import {
|
|
8
6
|
useFormControlProps,
|
|
9
7
|
useFormMethods,
|
|
10
8
|
useRequiredFieldName,
|
|
11
9
|
type WithoutAriaInvalid,
|
|
12
10
|
} from './Form.context';
|
|
11
|
+
import { Textarea } from './Textarea';
|
|
13
12
|
|
|
14
13
|
type FormTextareaProps = WithoutAriaInvalid<
|
|
15
14
|
React.ComponentProps<typeof Textarea>
|