@dust-tt/sparkle 0.2.386-rc-1 → 0.2.386-rc-2
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.
|
@@ -17,7 +17,7 @@ type IconPosition = "start" | "center" | "end";
|
|
|
17
17
|
interface RadioGroupCustomItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, VariantProps<typeof radioStyles> {
|
|
18
18
|
iconPosition?: IconPosition;
|
|
19
19
|
customItem: React.ReactNode;
|
|
20
|
-
children
|
|
20
|
+
children?: React.ReactNode;
|
|
21
21
|
}
|
|
22
22
|
declare const RadioGroupCustomItem: React.ForwardRefExoticComponent<RadioGroupCustomItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
23
23
|
export { RadioGroup, RadioGroupCustomItem, RadioGroupItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAIlD,QAAA,MAAM,WAAW;;mFAsBhB,CAAC;AAiBF,QAAA,MAAM,UAAU,+JAWd,CAAC;AAGH,UAAU,mBACR,SAAQ,IAAI,CACR,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAC/D,UAAU,CACX,EACD,YAAY,CAAC,OAAO,WAAW,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;IAC5E,I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AAE/C,UAAU,yBACR,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EACrE,YAAY,CAAC,OAAO,WAAW,CAAC;IAClC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,oBAAoB,qGA6CzB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,cAAc,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dust-tt/sparkle",
|
|
3
|
-
"version": "0.2.386-rc-
|
|
3
|
+
"version": "0.2.386-rc-2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs",
|
|
6
6
|
"tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css",
|
|
@@ -122,7 +122,7 @@ interface RadioGroupCustomItemProps
|
|
|
122
122
|
VariantProps<typeof radioStyles> {
|
|
123
123
|
iconPosition?: IconPosition;
|
|
124
124
|
customItem: React.ReactNode;
|
|
125
|
-
children
|
|
125
|
+
children?: React.ReactNode;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
const RadioGroupCustomItem = React.forwardRef<
|