@getflip/swirl-components 0.372.0 → 0.373.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/components.json +14 -6
- package/dist/cjs/swirl-separator.cjs.entry.js +2 -2
- package/dist/collection/components/swirl-separator/swirl-separator.css +8 -0
- package/dist/collection/components/swirl-separator/swirl-separator.js +3 -3
- package/dist/components/assets/pdfjs/pdf.worker.min.mjs +1 -1
- package/dist/components/swirl-separator2.js +2 -2
- package/dist/esm/swirl-separator.entry.js +2 -2
- package/dist/swirl-components/p-fc54fadf.entry.js +1 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-separator/swirl-separator.d.ts +1 -1
- package/package.json +1 -1
- package/vscode-data.json +6 -0
- package/dist/swirl-components/p-72a531d9.entry.js +0 -1
package/components.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-09-
|
|
2
|
+
"timestamp": "2025-09-01T14:17:56",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.35.0",
|
|
@@ -60943,10 +60943,10 @@
|
|
|
60943
60943
|
"props": [
|
|
60944
60944
|
{
|
|
60945
60945
|
"name": "borderColor",
|
|
60946
|
-
"type": "\"default\" | \"highlight\" | \"strong\"",
|
|
60946
|
+
"type": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
60947
60947
|
"complexType": {
|
|
60948
60948
|
"original": "SwirlSeparatorColor",
|
|
60949
|
-
"resolved": "\"default\" | \"highlight\" | \"strong\"",
|
|
60949
|
+
"resolved": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
60950
60950
|
"references": {
|
|
60951
60951
|
"SwirlSeparatorColor": {
|
|
60952
60952
|
"location": "local",
|
|
@@ -60967,6 +60967,10 @@
|
|
|
60967
60967
|
],
|
|
60968
60968
|
"default": "\"default\"",
|
|
60969
60969
|
"values": [
|
|
60970
|
+
{
|
|
60971
|
+
"value": "critical",
|
|
60972
|
+
"type": "string"
|
|
60973
|
+
},
|
|
60970
60974
|
{
|
|
60971
60975
|
"value": "default",
|
|
60972
60976
|
"type": "string"
|
|
@@ -60987,10 +60991,10 @@
|
|
|
60987
60991
|
},
|
|
60988
60992
|
{
|
|
60989
60993
|
"name": "color",
|
|
60990
|
-
"type": "\"default\" | \"highlight\" | \"strong\"",
|
|
60994
|
+
"type": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
60991
60995
|
"complexType": {
|
|
60992
60996
|
"original": "SwirlSeparatorColor",
|
|
60993
|
-
"resolved": "\"default\" | \"highlight\" | \"strong\"",
|
|
60997
|
+
"resolved": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
60994
60998
|
"references": {
|
|
60995
60999
|
"SwirlSeparatorColor": {
|
|
60996
61000
|
"location": "local",
|
|
@@ -61011,6 +61015,10 @@
|
|
|
61011
61015
|
],
|
|
61012
61016
|
"default": "\"default\"",
|
|
61013
61017
|
"values": [
|
|
61018
|
+
{
|
|
61019
|
+
"value": "critical",
|
|
61020
|
+
"type": "string"
|
|
61021
|
+
},
|
|
61014
61022
|
{
|
|
61015
61023
|
"value": "default",
|
|
61016
61024
|
"type": "string"
|
|
@@ -74943,7 +74951,7 @@
|
|
|
74943
74951
|
"path": "src/components/swirl-action-list-item/swirl-action-list-item.tsx"
|
|
74944
74952
|
},
|
|
74945
74953
|
"src/components/swirl-separator/swirl-separator.tsx::SwirlSeparatorColor": {
|
|
74946
|
-
"declaration": "export type SwirlSeparatorColor
|
|
74954
|
+
"declaration": "export type SwirlSeparatorColor =\n | \"critical\"\n | \"default\"\n | \"strong\"\n | \"highlight\";",
|
|
74947
74955
|
"docstring": "",
|
|
74948
74956
|
"path": "src/components/swirl-separator/swirl-separator.tsx"
|
|
74949
74957
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var index = require('./index-DM-IG6w2.js');
|
|
4
4
|
var index$1 = require('./index-DcAhLZUH.js');
|
|
5
5
|
|
|
6
|
-
const swirlSeparatorCss = ":host{display:flex;width:100%;align-items:center;gap:var(--s-space-8)}:host *{box-sizing:border-box}:host(.separator--orientation-vertical){display:inline-flex;width:auto;flex-direction:column}:host(.separator--orientation-vertical) .separator__line{width:var(--s-border-width-default);height:100%;min-height:1.125rem}:host(.separator--color-strong) .separator__line{background-color:var(--s-border-strong)}:host(.separator--color-strong) .separator__label{color:var(--s-text-subdued)}:host(.separator--color-highlight) .separator__line{background-color:var(--s-border-highlight)}:host(.separator--color-highlight) .separator__label{color:var(--s-text-highlight)}.separator__line{display:block;width:100%;height:var(--s-border-width-default);background-color:var(--s-border-default)}.separator__label{flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:var(--s-font-size-sm);color:var(--s-text-disabled)}";
|
|
6
|
+
const swirlSeparatorCss = ":host{display:flex;width:100%;align-items:center;gap:var(--s-space-8)}:host *{box-sizing:border-box}:host(.separator--orientation-vertical){display:inline-flex;width:auto;flex-direction:column}:host(.separator--orientation-vertical) .separator__line{width:var(--s-border-width-default);height:100%;min-height:1.125rem}:host(.separator--color-critical) .separator__line{background-color:var(--s-border-critical)}:host(.separator--color-critical) .separator__label{color:var(--s-text-subdued)}:host(.separator--color-strong) .separator__line{background-color:var(--s-border-strong)}:host(.separator--color-strong) .separator__label{color:var(--s-text-subdued)}:host(.separator--color-highlight) .separator__line{background-color:var(--s-border-highlight)}:host(.separator--color-highlight) .separator__label{color:var(--s-text-highlight)}.separator__line{display:block;width:100%;height:var(--s-border-width-default);background-color:var(--s-border-default)}.separator__label{flex-shrink:0;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-size:var(--s-font-size-sm);color:var(--s-text-disabled)}";
|
|
7
7
|
|
|
8
8
|
const SwirlSeparator = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -33,7 +33,7 @@ const SwirlSeparator = class {
|
|
|
33
33
|
paddingLeft: `var(--s-space-${this.spacing})`,
|
|
34
34
|
};
|
|
35
35
|
const className = index$1.classnames("separator", `separator--color-${this.color}`, `separator--orientation-${this.orientation}`);
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: '17b01a0eecb1f97564885965da64a90967730e14', "aria-orientation": this.orientation, class: className, role: "separator", style: styles }, index.h("span", { key: 'e9f7f71c5da01191f232455e8f5e6d9c39131a24', class: "separator__line" }), this.label && (index.h(index.Fragment, { key: '1f9f5c1d0b16766ed8677d7657946c335a5ab8ac' }, index.h("span", { key: 'ae1e1cc3149d5f0be42ea4be999cfda0fcfb6def', class: "separator__label" }, this.label), index.h("span", { key: '029ca069ba60923d67310941f464a92212e4fbd5', class: "separator__line" })))));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
SwirlSeparator.style = swirlSeparatorCss;
|
|
@@ -21,6 +21,14 @@
|
|
|
21
21
|
min-height: 1.125rem;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
:host(.separator--color-critical) .separator__line {
|
|
25
|
+
background-color: var(--s-border-critical);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host(.separator--color-critical) .separator__label {
|
|
29
|
+
color: var(--s-text-subdued);
|
|
30
|
+
}
|
|
31
|
+
|
|
24
32
|
:host(.separator--color-strong) .separator__line {
|
|
25
33
|
background-color: var(--s-border-strong);
|
|
26
34
|
}
|
|
@@ -27,7 +27,7 @@ export class SwirlSeparator {
|
|
|
27
27
|
paddingLeft: `var(--s-space-${this.spacing})`,
|
|
28
28
|
};
|
|
29
29
|
const className = classnames("separator", `separator--color-${this.color}`, `separator--orientation-${this.orientation}`);
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '17b01a0eecb1f97564885965da64a90967730e14', "aria-orientation": this.orientation, class: className, role: "separator", style: styles }, h("span", { key: 'e9f7f71c5da01191f232455e8f5e6d9c39131a24', class: "separator__line" }), this.label && (h(Fragment, { key: '1f9f5c1d0b16766ed8677d7657946c335a5ab8ac' }, h("span", { key: 'ae1e1cc3149d5f0be42ea4be999cfda0fcfb6def', class: "separator__label" }, this.label), h("span", { key: '029ca069ba60923d67310941f464a92212e4fbd5', class: "separator__line" })))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "swirl-separator"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -49,7 +49,7 @@ export class SwirlSeparator {
|
|
|
49
49
|
"mutable": false,
|
|
50
50
|
"complexType": {
|
|
51
51
|
"original": "SwirlSeparatorColor",
|
|
52
|
-
"resolved": "\"default\" | \"highlight\" | \"strong\"",
|
|
52
|
+
"resolved": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
53
53
|
"references": {
|
|
54
54
|
"SwirlSeparatorColor": {
|
|
55
55
|
"location": "local",
|
|
@@ -75,7 +75,7 @@ export class SwirlSeparator {
|
|
|
75
75
|
"mutable": true,
|
|
76
76
|
"complexType": {
|
|
77
77
|
"original": "SwirlSeparatorColor",
|
|
78
|
-
"resolved": "\"default\" | \"highlight\" | \"strong\"",
|
|
78
|
+
"resolved": "\"critical\" | \"default\" | \"highlight\" | \"strong\"",
|
|
79
79
|
"references": {
|
|
80
80
|
"SwirlSeparatorColor": {
|
|
81
81
|
"location": "local",
|