@mijn-ui/react-accordion 0.5.0 → 0.5.1
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 +4 -4
- package/dist/metafile-esm.json +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -25,19 +25,19 @@ var accordionStyles = tv({
|
|
|
25
25
|
variant: {
|
|
26
26
|
// Figma-aligned intents
|
|
27
27
|
outline: {
|
|
28
|
-
item: "border-b"
|
|
28
|
+
item: "border-b border-outline-default"
|
|
29
29
|
},
|
|
30
30
|
plain: {},
|
|
31
31
|
solid: {
|
|
32
|
-
base: "py-2 px-4 bg-bg-secondary rounded-lg border divide-y divide-
|
|
32
|
+
base: "py-2 px-4 bg-bg-secondary rounded-(--mijn-radius-lg) border border-outline-default divide-y divide-outline-default"
|
|
33
33
|
},
|
|
34
34
|
// Additional variants
|
|
35
35
|
splitted: {
|
|
36
36
|
base: "space-y-1.5",
|
|
37
|
-
item: "bg-bg-secondary px-4 rounded-lg border border-outline-default"
|
|
37
|
+
item: "bg-bg-secondary px-4 rounded-(--mijn-radius-lg) border border-outline-default"
|
|
38
38
|
},
|
|
39
39
|
subtle: {
|
|
40
|
-
base: "rounded-lg overflow-hidden divide-y",
|
|
40
|
+
base: "rounded-(--mijn-radius-lg) overflow-hidden divide-y",
|
|
41
41
|
item: "border-outline-secondary",
|
|
42
42
|
trigger: "bg-bg-secondary px-4",
|
|
43
43
|
content: "p-4 bg-bg-tertiary"
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/accordion.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/accordion.tsx":{"bytes":7243,"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":4799},"src/index.ts":{"bytesInOutput":0}},"bytes":4957}}}
|
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.5.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"@types/react-dom": "^19.0.0",
|
|
26
26
|
"react": "19.0.1",
|
|
27
27
|
"react-dom": "19.0.1",
|
|
28
|
-
"@mijn-ui/react-core": "0.
|
|
28
|
+
"@mijn-ui/react-core": "0.6.0",
|
|
29
29
|
"eslint-config-custom": "0.0.1",
|
|
30
30
|
"tsconfig": "0.0.0",
|
|
31
31
|
"tsup-config": "0.0.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@radix-ui/react-accordion": "^1.
|
|
35
|
-
"@mijn-ui/shared-icons": "0.
|
|
34
|
+
"@radix-ui/react-accordion": "^1.3.1",
|
|
35
|
+
"@mijn-ui/shared-icons": "0.2.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@mijn-ui/react-core": "^0.
|
|
38
|
+
"@mijn-ui/react-core": "^0.6.0",
|
|
39
39
|
"tailwind-merge": "^3.0.0",
|
|
40
40
|
"tailwind-variants": "^3.0.0",
|
|
41
41
|
"react": "^19.0",
|