@mijn-ui/react-accordion 0.4.1 → 0.4.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.
package/dist/index.js CHANGED
@@ -67,6 +67,7 @@ var Accordion = ({
67
67
  return /* @__PURE__ */ jsx(AccordionProvider, { value: { classNames, unstyled, styles }, children: /* @__PURE__ */ jsx(
68
68
  RadixAccordion.Root,
69
69
  {
70
+ "data-slot": "accordion",
70
71
  className: base({ className: cn(classNames?.base, className) }),
71
72
  ...props
72
73
  }
@@ -81,6 +82,7 @@ var AccordionItem = ({
81
82
  return /* @__PURE__ */ jsx(
82
83
  RadixAccordion.Item,
83
84
  {
85
+ "data-slot": "accordion-item",
84
86
  className: item({ className: cn(classNames?.item, className) }),
85
87
  ...props
86
88
  }
@@ -102,10 +104,12 @@ var AccordionTrigger = ({
102
104
  return /* @__PURE__ */ jsx(
103
105
  RadixAccordion.Header,
104
106
  {
107
+ "data-slot": "accordion-header",
105
108
  className: triggerWrapper({ className: classNames?.triggerWrapper }),
106
109
  children: /* @__PURE__ */ jsxs(
107
110
  RadixAccordion.Trigger,
108
111
  {
112
+ "data-slot": "accordion-trigger",
109
113
  className: trigger({
110
114
  className: cn(classNames?.trigger, className)
111
115
  }),
@@ -134,6 +138,7 @@ var AccordionContent = ({
134
138
  return /* @__PURE__ */ jsx(
135
139
  RadixAccordion.Content,
136
140
  {
141
+ "data-slot": "accordion-content",
137
142
  className: contentWrapper({ className: classNames?.contentWrapper }),
138
143
  ...props,
139
144
  children: /* @__PURE__ */ jsx(
@@ -1 +1 @@
1
- {"inputs":{"src/accordion.tsx":{"bytes":6500,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":28,"imports":[{"path":"src/accordion.tsx","kind":"import-statement","original":"./accordion"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Accordion","AccordionContent","AccordionItem","AccordionTrigger","accordionStyles","useAccordionStyles"],"entryPoint":"src/index.ts","inputs":{"src/accordion.tsx":{"bytesInOutput":4040},"src/index.ts":{"bytesInOutput":0}},"bytes":4198}}}
1
+ {"inputs":{"src/accordion.tsx":{"bytes":6672,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":28,"imports":[{"path":"src/accordion.tsx","kind":"import-statement","original":"./accordion"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-core","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"@radix-ui/react-accordion","kind":"import-statement","external":true},{"path":"tailwind-variants","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Accordion","AccordionContent","AccordionItem","AccordionTrigger","accordionStyles","useAccordionStyles"],"entryPoint":"src/index.ts","inputs":{"src/accordion.tsx":{"bytesInOutput":4232},"src/index.ts":{"bytesInOutput":0}},"bytes":4390}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mijn-ui/react-accordion",
3
3
  "author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -23,8 +23,8 @@
23
23
  "@next/eslint-plugin-next": "^15.0.3",
24
24
  "@types/react": "^19.0.0",
25
25
  "@types/react-dom": "^19.0.0",
26
- "react": "19.0.0",
27
- "react-dom": "19.0.0",
26
+ "react": "19.0.1",
27
+ "react-dom": "19.0.1",
28
28
  "@mijn-ui/react-core": "0.5.0",
29
29
  "eslint-config-custom": "0.0.1",
30
30
  "tsconfig": "0.0.0",