@open-pioneer/chakra-snippets 4.5.0-dev.20260311110502 → 4.5.0
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/CHANGELOG.md +4 -2
- package/package.json +6 -6
- package/tags-input.d.ts +1 -2
- package/tags-input.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# @open-pioneer/chakra-snippets
|
|
2
2
|
|
|
3
|
-
## 4.5.0
|
|
3
|
+
## 4.5.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- 4e76893: Update Chakra UI to 3.
|
|
7
|
+
- 4e76893: Update Chakra UI to 3.34.0
|
|
8
|
+
- 6e3760b: Update chakra to version 3.34.0.
|
|
9
|
+
Snippets have been checked and are still up to date.
|
|
8
10
|
|
|
9
11
|
### Patch Changes
|
|
10
12
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/chakra-snippets",
|
|
4
|
-
"version": "4.5.0
|
|
4
|
+
"version": "4.5.0",
|
|
5
5
|
"description": "Contains snippets for Chakra UI.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"directory": "src/packages/chakra-snippets"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@chakra-ui/react": "^3.
|
|
18
|
-
"@ark-ui/react": "^5.
|
|
17
|
+
"@chakra-ui/react": "^3.34.0",
|
|
18
|
+
"@ark-ui/react": "^5.34.0",
|
|
19
19
|
"react": "^19.2.4",
|
|
20
|
-
"react-icons": "^5.
|
|
21
|
-
"@open-pioneer/core": "4.5.0
|
|
22
|
-
"@open-pioneer/runtime": "4.5.0
|
|
20
|
+
"react-icons": "^5.6.0",
|
|
21
|
+
"@open-pioneer/core": "4.5.0",
|
|
22
|
+
"@open-pioneer/runtime": "4.5.0"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
"./package.json": "./package.json",
|
package/tags-input.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TagsInput as ChakraTagsInput } from "@chakra-ui/react";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { TagsInputRootBaseProps } from "@ark-ui/react";
|
|
4
3
|
interface TagsInputControlProps extends ChakraTagsInput.ControlProps {
|
|
5
4
|
clearable?: boolean;
|
|
6
5
|
}
|
|
@@ -12,7 +11,7 @@ export declare const TagsInputItemPreview: React.ForwardRefExoticComponent<Omit<
|
|
|
12
11
|
export declare const TagsInputItemInput: React.ForwardRefExoticComponent<ChakraTagsInput.ItemInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
13
12
|
export declare const TagsInputItemContext: (props: import("@ark-ui/react").TagsInputItemContextProps) => import("react").ReactNode;
|
|
14
13
|
export declare const TagsInputRootProvider: React.ForwardRefExoticComponent<ChakraTagsInput.RootProviderProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export declare const TagsInputPropsProvider:
|
|
14
|
+
export declare const TagsInputPropsProvider: typeof ChakraTagsInput.PropsProvider;
|
|
16
15
|
export declare const TagsInputLabel: React.ForwardRefExoticComponent<ChakraTagsInput.LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
17
16
|
export declare const TagsInputInput: React.ForwardRefExoticComponent<ChakraTagsInput.InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
18
17
|
export declare const TagsInputContext: (props: import("@ark-ui/react").TagsInputContextProps) => import("react").ReactNode;
|
package/tags-input.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags-input.js","sources":["tags-input.tsx"],"sourcesContent":["\"use client\"\n\nimport { TagsInput as ChakraTagsInput } from \"@chakra-ui/react\"\nimport { CloseButton } from \"./close-button\"\nimport * as React from \"react\"\
|
|
1
|
+
{"version":3,"file":"tags-input.js","sources":["tags-input.tsx"],"sourcesContent":["\"use client\"\n\nimport { TagsInput as ChakraTagsInput } from \"@chakra-ui/react\"\nimport { CloseButton } from \"./close-button\"\nimport * as React from \"react\"\n\ninterface TagsInputControlProps extends ChakraTagsInput.ControlProps {\n clearable?: boolean\n}\n\nexport const TagsInputControl = React.forwardRef<\n HTMLDivElement,\n TagsInputControlProps\n>(function TagsInputControl(props, ref) {\n const { children, clearable, ...rest } = props\n return (\n <ChakraTagsInput.Control {...rest} ref={ref}>\n {children}\n {clearable && <TagsInputClearTrigger />}\n </ChakraTagsInput.Control>\n )\n})\n\nconst TagsInputClearTrigger = React.forwardRef<\n HTMLButtonElement,\n ChakraTagsInput.ClearTriggerProps\n>(function TagsInputClearTrigger(props, ref) {\n return (\n <ChakraTagsInput.ClearTrigger asChild {...props} ref={ref}>\n <CloseButton\n size=\"xs\"\n variant=\"plain\"\n focusVisibleRing=\"inside\"\n focusRingWidth=\"2px\"\n pointerEvents=\"auto\"\n />\n </ChakraTagsInput.ClearTrigger>\n )\n})\n\nexport const TagsInputItem = React.forwardRef<\n HTMLDivElement,\n ChakraTagsInput.ItemProps\n>(function TagsInputItem(props, ref) {\n const { children, ...rest } = props\n return (\n <ChakraTagsInput.Item {...rest} ref={ref}>\n <ChakraTagsInput.ItemText>{children}</ChakraTagsInput.ItemText>\n <ChakraTagsInput.ItemDeleteTrigger asChild>\n <CloseButton\n size=\"2xs\"\n variant=\"plain\"\n focusVisibleRing=\"inside\"\n focusRingWidth=\"2px\"\n pointerEvents=\"auto\"\n />\n </ChakraTagsInput.ItemDeleteTrigger>\n </ChakraTagsInput.Item>\n )\n})\n\nexport const TagsInputRoot = React.forwardRef<\n HTMLDivElement,\n ChakraTagsInput.RootProps\n>(function TagsInputRoot(props, ref) {\n return <ChakraTagsInput.Root {...props} ref={ref} />\n}) as ChakraTagsInput.RootProps\n\nexport const TagsInputItemText = ChakraTagsInput.ItemText\nexport const TagsInputItemPreview = ChakraTagsInput.ItemPreview\nexport const TagsInputItemInput = ChakraTagsInput.ItemInput\nexport const TagsInputItemContext = ChakraTagsInput.ItemContext\nexport const TagsInputRootProvider = ChakraTagsInput.RootProvider\n// PATCH: Add type annotation\nexport const TagsInputPropsProvider: typeof ChakraTagsInput.PropsProvider = ChakraTagsInput.PropsProvider\nexport const TagsInputLabel = ChakraTagsInput.Label\nexport const TagsInputInput = ChakraTagsInput.Input\nexport const TagsInputContext = ChakraTagsInput.Context\nexport const TagsInputHiddenInput = ChakraTagsInput.HiddenInput\n"],"names":["TagsInputControl","ChakraTagsInput","TagsInputClearTrigger","TagsInputItem","TagsInputRoot"],"mappings":";;;;;AAUO,MAAM,mBAAmB,KAAA,CAAM,UAAA,CAGpC,SAASA,iBAAAA,CAAiB,OAAO,GAAA,EAAK;AACtC,EAAA,MAAM,EAAE,QAAA,EAAU,SAAA,EAAW,GAAG,MAAK,GAAI,KAAA;AACzC,EAAA,4BACGC,SAAA,CAAgB,OAAA,EAAhB,EAAyB,GAAG,MAAM,GAAA,EAChC,QAAA,EAAA;AAAA,IAAA,QAAA;AAAA,IACA,SAAA,wBAAc,qBAAA,EAAA,EAAsB;AAAA,GAAA,EACvC,CAAA;AAEJ,CAAC;AAED,MAAM,wBAAwB,KAAA,CAAM,UAAA,CAGlC,SAASC,sBAAAA,CAAsB,OAAO,GAAA,EAAK;AAC3C,EAAA,uBACE,GAAA,CAACD,UAAgB,YAAA,EAAhB,EAA6B,SAAO,IAAA,EAAE,GAAG,OAAO,GAAA,EAC/C,QAAA,kBAAA,GAAA;AAAA,IAAC,WAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAK,IAAA;AAAA,MACL,OAAA,EAAQ,OAAA;AAAA,MACR,gBAAA,EAAiB,QAAA;AAAA,MACjB,cAAA,EAAe,KAAA;AAAA,MACf,aAAA,EAAc;AAAA;AAAA,GAChB,EACF,CAAA;AAEJ,CAAC,CAAA;AAEM,MAAM,gBAAgB,KAAA,CAAM,UAAA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