@florid-kit/components 0.2.0 → 0.2.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/index.js +5 -4
- package/index.mjs +5 -4
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -61,11 +61,12 @@
|
|
|
61
61
|
:host {
|
|
62
62
|
display: inline-flex;
|
|
63
63
|
cursor: pointer;
|
|
64
|
-
${at("primary")}
|
|
64
|
+
${at("primary")};
|
|
65
|
+
--button-border: transparent;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
:host([variant="secondary"]) {
|
|
68
|
-
${at("secondary")}
|
|
69
|
+
${at("secondary")};
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
:host([disabled]) {
|
|
@@ -98,7 +99,7 @@
|
|
|
98
99
|
gap: var(--spacing-s, 8px);
|
|
99
100
|
height: 100%;
|
|
100
101
|
justify-content: center;
|
|
101
|
-
line-height: var(--line-height-
|
|
102
|
+
line-height: var(--line-height-200);
|
|
102
103
|
min-width: 64px;
|
|
103
104
|
outline: none;
|
|
104
105
|
padding: var(--spacing-l, 12px) var(--spacing-3-xl, 24px);
|
|
@@ -126,6 +127,6 @@
|
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
.button:focus-visible {
|
|
129
|
-
${kt}
|
|
130
|
+
${kt};
|
|
130
131
|
}
|
|
131
132
|
`;y([w()],p.prototype,"type",2);y([w({reflect:!0})],p.prototype,"value",2);y([w({reflect:!0})],p.prototype,"variant",2);y([w({converter:{fromAttribute:i=>i===""||i==="true"}})],p.prototype,"disabled",2);y([w()],p.prototype,"href",2);y([w()],p.prototype,"target",2);p=y([Mt("o-button")],p);
|
package/index.mjs
CHANGED
|
@@ -709,11 +709,12 @@ p.styles = J`
|
|
|
709
709
|
:host {
|
|
710
710
|
display: inline-flex;
|
|
711
711
|
cursor: pointer;
|
|
712
|
-
${at("primary")}
|
|
712
|
+
${at("primary")};
|
|
713
|
+
--button-border: transparent;
|
|
713
714
|
}
|
|
714
715
|
|
|
715
716
|
:host([variant="secondary"]) {
|
|
716
|
-
${at("secondary")}
|
|
717
|
+
${at("secondary")};
|
|
717
718
|
}
|
|
718
719
|
|
|
719
720
|
:host([disabled]) {
|
|
@@ -746,7 +747,7 @@ p.styles = J`
|
|
|
746
747
|
gap: var(--spacing-s, 8px);
|
|
747
748
|
height: 100%;
|
|
748
749
|
justify-content: center;
|
|
749
|
-
line-height: var(--line-height-
|
|
750
|
+
line-height: var(--line-height-200);
|
|
750
751
|
min-width: 64px;
|
|
751
752
|
outline: none;
|
|
752
753
|
padding: var(--spacing-l, 12px) var(--spacing-3-xl, 24px);
|
|
@@ -774,7 +775,7 @@ p.styles = J`
|
|
|
774
775
|
}
|
|
775
776
|
|
|
776
777
|
.button:focus-visible {
|
|
777
|
-
${kt}
|
|
778
|
+
${kt};
|
|
778
779
|
}
|
|
779
780
|
`;
|
|
780
781
|
y([
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@florid-kit/components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "index.mjs",
|
|
6
6
|
"typings": "index.d.ts",
|
|
7
7
|
"description": "This library was generated with [Nx](https://nx.dev).",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@florid-kit/tokens": "^0.1.
|
|
9
|
+
"@florid-kit/tokens": "^0.1.2"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@storybook/addon-essentials": "^8.1.5",
|