@crowdstrike/glide-core 0.15.1 → 0.17.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/dist/accordion.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/accordion.styles.js +17 -15
- package/dist/button-group.d.ts +1 -2
- package/dist/button-group.js +1 -1
- package/dist/button.d.ts +0 -11
- package/dist/button.js +1 -1
- package/dist/checkbox-group.d.ts +3 -3
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.d.ts +3 -3
- package/dist/checkbox.js +17 -37
- package/dist/checkbox.styles.js +1 -12
- package/dist/drawer.d.ts +2 -5
- package/dist/drawer.js +1 -1
- package/dist/drawer.styles.js +0 -2
- package/dist/dropdown.d.ts +4 -3
- package/dist/dropdown.js +29 -43
- package/dist/dropdown.option.js +1 -1
- package/dist/dropdown.styles.js +1 -0
- package/dist/icons/checked.js +1 -1
- package/dist/icons/chevron.d.ts +2 -0
- package/dist/icons/chevron.js +1 -0
- package/dist/icons/magnifying-glass.d.ts +1 -1
- package/dist/icons/magnifying-glass.js +1 -1
- package/dist/icons/pencil.js +1 -1
- package/dist/icons/x.d.ts +2 -0
- package/dist/icons/x.js +1 -0
- package/dist/inline-alert.d.ts +5 -5
- package/dist/inline-alert.js +1 -1
- package/dist/inline-alert.styles.js +9 -5
- package/dist/input.d.ts +3 -3
- package/dist/input.js +38 -61
- package/dist/label.js +1 -1
- package/dist/label.styles.js +5 -1
- package/dist/library/localize.d.ts +1 -2
- package/dist/library/localize.test.js +1 -3
- package/dist/library/mouse.d.ts +2 -0
- package/dist/library/mouse.js +1 -0
- package/dist/library/ow.test.js +0 -1
- package/dist/menu.d.ts +3 -1
- package/dist/menu.js +1 -1
- package/dist/menu.options.d.ts +1 -1
- package/dist/modal.d.ts +5 -8
- package/dist/modal.icon-button.d.ts +2 -7
- package/dist/modal.icon-button.styles.js +3 -3
- package/dist/modal.js +1 -1
- package/dist/modal.styles.js +50 -45
- package/dist/popover.d.ts +28 -0
- package/dist/popover.js +1 -0
- package/dist/popover.styles.js +119 -0
- package/dist/radio-group.d.ts +11 -11
- package/dist/radio-group.js +11 -9
- package/dist/radio-group.radio.d.ts +25 -0
- package/dist/radio-group.radio.js +1 -0
- package/dist/radio-group.radio.styles.d.ts +2 -0
- package/dist/{radio.styles.js → radio-group.radio.styles.js} +25 -37
- package/dist/radio-group.styles.js +1 -5
- package/dist/split-button.d.ts +2 -1
- package/dist/split-button.secondary-button.js +1 -1
- package/dist/split-button.secondary-button.styles.js +6 -9
- package/dist/tab.d.ts +1 -2
- package/dist/tab.group.d.ts +0 -3
- package/dist/tab.group.js +1 -1
- package/dist/tab.group.styles.js +61 -55
- package/dist/tab.panel.d.ts +4 -4
- package/dist/tab.panel.js +1 -1
- package/dist/tab.styles.js +8 -8
- package/dist/tag.d.ts +1 -1
- package/dist/tag.js +1 -1
- package/dist/tag.styles.js +9 -5
- package/dist/textarea.d.ts +3 -3
- package/dist/textarea.js +1 -1
- package/dist/toasts.toast.js +1 -1
- package/dist/toasts.toast.styles.js +6 -3
- package/dist/toggle.d.ts +2 -2
- package/dist/toggle.js +1 -1
- package/dist/toggle.styles.js +8 -10
- package/dist/tooltip.d.ts +3 -1
- package/dist/tooltip.js +1 -1
- package/dist/tooltip.styles.js +8 -11
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.d.ts +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/ja.d.ts +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/tree.d.ts +1 -2
- package/dist/tree.item.d.ts +0 -2
- package/dist/tree.item.js +1 -1
- package/dist/tree.item.menu.d.ts +2 -2
- package/dist/tree.item.menu.js +1 -1
- package/dist/tree.item.styles.js +41 -48
- package/dist/tree.js +1 -1
- package/package.json +11 -10
- package/dist/icons/informational.d.ts +0 -2
- package/dist/icons/informational.js +0 -1
- package/dist/radio.d.ts +0 -20
- package/dist/radio.js +0 -1
- /package/dist/{radio.styles.d.ts → popover.styles.d.ts} +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crowdstrike/glide-core",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.17.0",
|
4
4
|
"description": "CrowdStrike's Glide Design System components package for providing web components",
|
5
5
|
"author": "CrowdStrike UX Team",
|
6
6
|
"license": "Apache-2.0",
|
@@ -48,9 +48,10 @@
|
|
48
48
|
"@changesets/cli": "^2.27.10",
|
49
49
|
"@crowdstrike/design-tokens": "^2.0.1",
|
50
50
|
"@eslint/eslintrc": "^3.2.0",
|
51
|
-
"@eslint/js": "^
|
51
|
+
"@eslint/js": "^9.17.0",
|
52
52
|
"@open-wc/testing": "^4.0.0",
|
53
53
|
"@rollup/plugin-commonjs": "^25.0.8",
|
54
|
+
"@storybook/addon-actions": "^8.4.7",
|
54
55
|
"@storybook/addon-essentials": "^8.4.7",
|
55
56
|
"@storybook/addon-links": "^8.4.7",
|
56
57
|
"@storybook/blocks": "^8.4.7",
|
@@ -60,32 +61,32 @@
|
|
60
61
|
"@storybook/theming": "^8.4.7",
|
61
62
|
"@storybook/web-components": "^8.4.7",
|
62
63
|
"@storybook/web-components-vite": "^8.4.7",
|
63
|
-
"@stylistic/eslint-plugin": "^
|
64
|
+
"@stylistic/eslint-plugin": "^2.12.1",
|
64
65
|
"@types/eslint": "^8.56.12",
|
65
66
|
"@types/mocha": "^10.0.10",
|
66
67
|
"@types/sinon": "^17.0.3",
|
67
|
-
"@typescript-eslint/rule-tester": "^8.
|
68
|
-
"@typescript-eslint/types": "^8.
|
69
|
-
"@typescript-eslint/utils": "^8.
|
68
|
+
"@typescript-eslint/rule-tester": "^8.19.0",
|
69
|
+
"@typescript-eslint/types": "^8.19.0",
|
70
|
+
"@typescript-eslint/utils": "^8.19.0",
|
70
71
|
"@web/dev-server-esbuild": "^1.0.3",
|
71
72
|
"@web/dev-server-rollup": "^0.6.4",
|
72
73
|
"@web/test-runner": "^0.19.0",
|
73
74
|
"@web/test-runner-commands": "^0.9.0",
|
74
75
|
"@web/test-runner-playwright": "^0.11.0",
|
75
76
|
"chalk": "^5.3.0",
|
76
|
-
"esbuild": "^0.24.
|
77
|
-
"eslint": "^
|
77
|
+
"esbuild": "^0.24.2",
|
78
|
+
"eslint": "^9.17.0",
|
78
79
|
"eslint-config-prettier": "^9.1.0",
|
79
80
|
"eslint-plugin-lit": "^1.15.0",
|
80
81
|
"eslint-plugin-lit-a11y": "^4.1.4",
|
81
82
|
"eslint-plugin-sort-class-members": "^1.21.0",
|
82
83
|
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
|
83
|
-
"eslint-plugin-unicorn": "^
|
84
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
84
85
|
"globals": "^15.13.0",
|
85
86
|
"globby": "^14.0.2",
|
86
87
|
"http-server": "^14.1.1",
|
87
88
|
"husky": "^8.0.3",
|
88
|
-
"is-ci": "^
|
89
|
+
"is-ci": "^4.1.0",
|
89
90
|
"lint-staged": "^15.2.11",
|
90
91
|
"lit": "^3.2.1",
|
91
92
|
"lit-analyzer": "^2.0.3",
|
@@ -1 +0,0 @@
|
|
1
|
-
import{svg}from"lit/static-html.js";export default svg`<svg aria-hidden="true" viewBox="0 0 16 16" fill="none" style="height: var(--size, 1rem); width: var(--size, 1rem);"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.99996 0.666672C3.94987 0.666672 0.666626 3.94992 0.666626 8C0.666626 12.0501 3.94987 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.0501 15.3333 8C15.3333 3.94992 12.05 0.666672 7.99996 0.666672ZM8.66663 5.33334C8.66663 4.96515 8.36815 4.66667 7.99996 4.66667C7.63177 4.66667 7.33329 4.96515 7.33329 5.33334V8C7.33329 8.36819 7.63177 8.66667 7.99996 8.66667C8.36815 8.66667 8.66663 8.36819 8.66663 8V5.33334ZM7.99996 10C7.63177 10 7.33329 10.2985 7.33329 10.6667C7.33329 11.0349 7.63177 11.3333 7.99996 11.3333H8.00663C8.37482 11.3333 8.67329 11.0349 8.67329 10.6667C8.67329 10.2985 8.37482 10 8.00663 10H7.99996Z" fill="currentColor"/></svg>`;
|
package/dist/radio.d.ts
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { LitElement, type PropertyValueMap } from 'lit';
|
2
|
-
declare global {
|
3
|
-
interface HTMLElementTagNameMap {
|
4
|
-
'glide-core-radio': GlideCoreRadio;
|
5
|
-
}
|
6
|
-
}
|
7
|
-
export default class GlideCoreRadio extends LitElement {
|
8
|
-
#private;
|
9
|
-
static shadowRootOptions: ShadowRootInit;
|
10
|
-
static styles: import("lit").CSSResult[];
|
11
|
-
checked: boolean;
|
12
|
-
disabled: boolean;
|
13
|
-
invalid: boolean;
|
14
|
-
required: boolean;
|
15
|
-
value: string;
|
16
|
-
label?: string;
|
17
|
-
firstUpdated(): void;
|
18
|
-
render(): import("lit").TemplateResult<1>;
|
19
|
-
willUpdate(changedProperties: PropertyValueMap<GlideCoreRadio>): void;
|
20
|
-
}
|
package/dist/radio.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
var __decorate=this&&this.__decorate||function(e,t,i,r){var a,o=arguments.length,d=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(d=(o<3?a(d):o>3?a(t,i,d):a(t,i))||d);return o>3&&d&&Object.defineProperty(t,i,d),d};import{LitElement,html}from"lit";import{classMap}from"lit/directives/class-map.js";import{customElement,property}from"lit/decorators.js";import styles from"./radio.styles.js";let GlideCoreRadio=class GlideCoreRadio extends LitElement{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.invalid=!1,this.required=!1,this.value="",this.#e=!1}static{this.shadowRootOptions={...LitElement.shadowRootOptions,mode:"closed"}}static{this.styles=styles}firstUpdated(){this.role="radio",this.ariaChecked=this.checked.toString(),this.ariaDisabled=this.disabled.toString(),this.ariaInvalid=this.invalid.toString(),this.ariaRequired=this.required.toString(),this.label&&(this.ariaLabel=this.label),this.#e=!0}render(){return html`<span class="${classMap({component:!0,disabled:this.disabled})}"><span id="radio" class="${classMap({"radio-circle":!0,checked:this.checked,animate:this.#e})}" data-test="radio" data-test-error="${this.invalid}"></span> ${this.label}</span>`}willUpdate(e){this.hasUpdated&&(e.has("checked")&&(this.ariaChecked=this.checked.toString()),e.has("disabled")&&(this.ariaDisabled=this.disabled.toString()),e.has("required")&&(this.ariaRequired=this.required.toString()),e.has("invalid")&&(this.ariaInvalid=this.invalid.toString()),e.has("label")&&this.label&&(this.ariaLabel=this.label))}#e};__decorate([property({type:Boolean,reflect:!0})],GlideCoreRadio.prototype,"checked",void 0),__decorate([property({type:Boolean,reflect:!0})],GlideCoreRadio.prototype,"disabled",void 0),__decorate([property({type:Boolean})],GlideCoreRadio.prototype,"invalid",void 0),__decorate([property({type:Boolean,reflect:!0})],GlideCoreRadio.prototype,"required",void 0),__decorate([property()],GlideCoreRadio.prototype,"value",void 0),__decorate([property({reflect:!0})],GlideCoreRadio.prototype,"label",void 0),GlideCoreRadio=__decorate([customElement("glide-core-radio")],GlideCoreRadio);export default GlideCoreRadio;
|
File without changes
|