@getflip/swirl-components 0.334.0 → 0.335.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 +8 -4
- package/dist/cjs/swirl-text.cjs.entry.js +2 -2
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/components/swirl-text/swirl-text.css +5 -0
- package/dist/collection/components/swirl-text/swirl-text.js +2 -2
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/swirl-text2.js +2 -2
- package/dist/esm/swirl-text.entry.js +2 -2
- package/dist/swirl-components/{p-cfe2b25e.entry.js → p-108ec1e1.entry.js} +2 -2
- package/dist/swirl-components/swirl-components.css +1 -1
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-text/swirl-text.d.ts +1 -1
- package/package.json +2 -2
- package/vscode-data.json +3 -0
package/components.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-06-
|
|
2
|
+
"timestamp": "2025-06-03T09:22:01",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.18.1",
|
|
@@ -62145,10 +62145,10 @@
|
|
|
62145
62145
|
},
|
|
62146
62146
|
{
|
|
62147
62147
|
"name": "size",
|
|
62148
|
-
"type": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\"",
|
|
62148
|
+
"type": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\" | \"xs\"",
|
|
62149
62149
|
"complexType": {
|
|
62150
62150
|
"original": "SwirlTextSize",
|
|
62151
|
-
"resolved": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\"",
|
|
62151
|
+
"resolved": "\"2xl\" | \"base\" | \"lg\" | \"sm\" | \"xl\" | \"xs\"",
|
|
62152
62152
|
"references": {
|
|
62153
62153
|
"SwirlTextSize": {
|
|
62154
62154
|
"location": "local",
|
|
@@ -62183,6 +62183,10 @@
|
|
|
62183
62183
|
{
|
|
62184
62184
|
"value": "xl",
|
|
62185
62185
|
"type": "string"
|
|
62186
|
+
},
|
|
62187
|
+
{
|
|
62188
|
+
"value": "xs",
|
|
62189
|
+
"type": "string"
|
|
62186
62190
|
}
|
|
62187
62191
|
],
|
|
62188
62192
|
"optional": true,
|
|
@@ -67019,7 +67023,7 @@
|
|
|
67019
67023
|
"path": "src/components/swirl-text/swirl-text.tsx"
|
|
67020
67024
|
},
|
|
67021
67025
|
"src/components/swirl-text/swirl-text.tsx::SwirlTextSize": {
|
|
67022
|
-
"declaration": "export type SwirlTextSize = \"sm\" | \"base\" | \"lg\" | \"xl\" | \"2xl\";",
|
|
67026
|
+
"declaration": "export type SwirlTextSize = \"xs\" | \"sm\" | \"base\" | \"lg\" | \"xl\" | \"2xl\";",
|
|
67023
67027
|
"docstring": "",
|
|
67024
67028
|
"path": "src/components/swirl-text/swirl-text.tsx"
|
|
67025
67029
|
},
|
|
@@ -932,7 +932,7 @@ function shave(target, maxHeight, opts) {
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
|
|
935
|
-
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.text--responsive.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.text--responsive.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}";
|
|
935
|
+
const swirlTextCss = ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-xs.sc-swirl-text{font-size:var(--s-font-size-xs);line-height:var(--s-line-height-xs)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.text--responsive.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.text--responsive.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}";
|
|
936
936
|
const SwirlTextStyle0 = swirlTextCss;
|
|
937
937
|
|
|
938
938
|
const SwirlText = class {
|
|
@@ -988,7 +988,7 @@ const SwirlText = class {
|
|
|
988
988
|
const styles = {
|
|
989
989
|
whiteSpace: truncate ? "nowrap" : this.whiteSpace,
|
|
990
990
|
};
|
|
991
|
-
return (index.h(index.Host, { key: '
|
|
991
|
+
return (index.h(index.Host, { key: '20837a36e608452ce7705c3164ee6035c41502a1' }, index.h(Tag, { key: 'b449f83b563bcc1e3609eca5957ef8683c434eac', class: className, ref: (el) => (this.textEl = el), style: styles }, index.h("slot", { key: 'c804a7d5e0f4cb83f984506a92cb75d0d209db13' }))));
|
|
992
992
|
}
|
|
993
993
|
get el() { return index.getElement(this); }
|
|
994
994
|
};
|