@ni/ok-components 0.4.3 → 0.4.4
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/all-components-bundle.js +25 -25
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2 -3
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +48 -42
- package/dist/custom-elements.md +10 -10
- package/dist/esm/all-components.d.ts +1 -1
- package/dist/esm/all-components.js +1 -1
- package/dist/esm/all-components.js.map +1 -1
- package/dist/esm/ex/all-ex.d.ts +1 -0
- package/dist/esm/ex/all-ex.js +2 -0
- package/dist/esm/ex/all-ex.js.map +1 -0
- package/dist/esm/{button → ex/button}/index.d.ts +3 -3
- package/dist/esm/ex/button/index.js +16 -0
- package/dist/esm/ex/button/index.js.map +1 -0
- package/dist/esm/{button → ex/button}/styles.js +1 -1
- package/dist/esm/ex/button/styles.js.map +1 -0
- package/dist/esm/ex/button/template.js.map +1 -0
- package/package.json +1 -1
- package/dist/esm/button/index.js +0 -16
- package/dist/esm/button/index.js.map +0 -1
- package/dist/esm/button/styles.js.map +0 -1
- package/dist/esm/button/template.js.map +0 -1
- /package/dist/esm/{button → ex/button}/styles.d.ts +0 -0
- /package/dist/esm/{button → ex/button}/template.d.ts +0 -0
- /package/dist/esm/{button → ex/button}/template.js +0 -0
|
@@ -7395,7 +7395,7 @@
|
|
|
7395
7395
|
*
|
|
7396
7396
|
* @public
|
|
7397
7397
|
*/
|
|
7398
|
-
let Button$
|
|
7398
|
+
let Button$1 = class Button extends FormAssociatedButton {
|
|
7399
7399
|
constructor() {
|
|
7400
7400
|
super(...arguments);
|
|
7401
7401
|
/**
|
|
@@ -7523,31 +7523,31 @@
|
|
|
7523
7523
|
};
|
|
7524
7524
|
__decorate([
|
|
7525
7525
|
attr({ mode: "boolean" })
|
|
7526
|
-
], Button$
|
|
7526
|
+
], Button$1.prototype, "autofocus", void 0);
|
|
7527
7527
|
__decorate([
|
|
7528
7528
|
attr({ attribute: "form" })
|
|
7529
|
-
], Button$
|
|
7529
|
+
], Button$1.prototype, "formId", void 0);
|
|
7530
7530
|
__decorate([
|
|
7531
7531
|
attr
|
|
7532
|
-
], Button$
|
|
7532
|
+
], Button$1.prototype, "formaction", void 0);
|
|
7533
7533
|
__decorate([
|
|
7534
7534
|
attr
|
|
7535
|
-
], Button$
|
|
7535
|
+
], Button$1.prototype, "formenctype", void 0);
|
|
7536
7536
|
__decorate([
|
|
7537
7537
|
attr
|
|
7538
|
-
], Button$
|
|
7538
|
+
], Button$1.prototype, "formmethod", void 0);
|
|
7539
7539
|
__decorate([
|
|
7540
7540
|
attr({ mode: "boolean" })
|
|
7541
|
-
], Button$
|
|
7541
|
+
], Button$1.prototype, "formnovalidate", void 0);
|
|
7542
7542
|
__decorate([
|
|
7543
7543
|
attr
|
|
7544
|
-
], Button$
|
|
7544
|
+
], Button$1.prototype, "formtarget", void 0);
|
|
7545
7545
|
__decorate([
|
|
7546
7546
|
attr
|
|
7547
|
-
], Button$
|
|
7547
|
+
], Button$1.prototype, "type", void 0);
|
|
7548
7548
|
__decorate([
|
|
7549
7549
|
observable
|
|
7550
|
-
], Button$
|
|
7550
|
+
], Button$1.prototype, "defaultSlottedContent", void 0);
|
|
7551
7551
|
/**
|
|
7552
7552
|
* Includes ARIA states and properties relating to the ARIA button role
|
|
7553
7553
|
*
|
|
@@ -7562,7 +7562,7 @@
|
|
|
7562
7562
|
attr({ attribute: "aria-pressed" })
|
|
7563
7563
|
], DelegatesARIAButton.prototype, "ariaPressed", void 0);
|
|
7564
7564
|
applyMixins(DelegatesARIAButton, ARIAGlobalStatesAndProperties);
|
|
7565
|
-
applyMixins(Button$
|
|
7565
|
+
applyMixins(Button$1, StartEnd, DelegatesARIAButton);
|
|
7566
7566
|
|
|
7567
7567
|
/**
|
|
7568
7568
|
* An Card Custom HTML Element.
|
|
@@ -19868,7 +19868,7 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19868
19868
|
/**
|
|
19869
19869
|
* A nimble-styled HTML button
|
|
19870
19870
|
*/
|
|
19871
|
-
|
|
19871
|
+
class Button extends Button$1 {
|
|
19872
19872
|
constructor() {
|
|
19873
19873
|
super(...arguments);
|
|
19874
19874
|
/**
|
|
@@ -19884,19 +19884,19 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19884
19884
|
*/
|
|
19885
19885
|
this.contentHidden = false;
|
|
19886
19886
|
}
|
|
19887
|
-
}
|
|
19887
|
+
}
|
|
19888
19888
|
__decorate([
|
|
19889
19889
|
attr
|
|
19890
|
-
], Button
|
|
19890
|
+
], Button.prototype, "appearance", void 0);
|
|
19891
19891
|
__decorate([
|
|
19892
19892
|
attr({ attribute: 'appearance-variant' })
|
|
19893
|
-
], Button
|
|
19893
|
+
], Button.prototype, "appearanceVariant", void 0);
|
|
19894
19894
|
__decorate([
|
|
19895
19895
|
attr({ attribute: 'content-hidden', mode: 'boolean' })
|
|
19896
|
-
], Button
|
|
19896
|
+
], Button.prototype, "contentHidden", void 0);
|
|
19897
19897
|
__decorate([
|
|
19898
19898
|
attr({ attribute: 'tabindex', converter: nullableNumberConverter })
|
|
19899
|
-
], Button
|
|
19899
|
+
], Button.prototype, "tabIndex", void 0);
|
|
19900
19900
|
/**
|
|
19901
19901
|
* A function that returns a nimble-button registration for configuring the component with a DesignSystem.
|
|
19902
19902
|
* Implements {@link @ni/fast-foundation#buttonTemplate}
|
|
@@ -19906,9 +19906,9 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
19906
19906
|
* Generates HTML Element: \<nimble-button\>
|
|
19907
19907
|
*
|
|
19908
19908
|
*/
|
|
19909
|
-
const nimbleButton = Button
|
|
19909
|
+
const nimbleButton = Button.compose({
|
|
19910
19910
|
baseName: 'button',
|
|
19911
|
-
baseClass: Button$
|
|
19911
|
+
baseClass: Button$1,
|
|
19912
19912
|
template: template$X,
|
|
19913
19913
|
styles: styles$1e,
|
|
19914
19914
|
shadowOptions: {
|
|
@@ -21250,7 +21250,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21250
21250
|
/**
|
|
21251
21251
|
* A nimble-styled card button
|
|
21252
21252
|
*/
|
|
21253
|
-
class CardButton extends Button$
|
|
21253
|
+
class CardButton extends Button$1 {
|
|
21254
21254
|
constructor() {
|
|
21255
21255
|
super(...arguments);
|
|
21256
21256
|
/**
|
|
@@ -66730,7 +66730,7 @@ ${nextLine.slice(indentLevel + 2)}`;
|
|
|
66730
66730
|
/**
|
|
66731
66731
|
* A nimble-styled step for a stepper
|
|
66732
66732
|
*/
|
|
66733
|
-
class Step extends mixinSeverityPattern(Button$
|
|
66733
|
+
class Step extends mixinSeverityPattern(Button$1) {
|
|
66734
66734
|
constructor() {
|
|
66735
66735
|
super(...arguments);
|
|
66736
66736
|
/**
|
|
@@ -99802,14 +99802,14 @@ focus outline in that case.
|
|
|
99802
99802
|
/**
|
|
99803
99803
|
* A Ok demo component (not for production use)
|
|
99804
99804
|
*/
|
|
99805
|
-
class
|
|
99805
|
+
class ExButton extends FoundationElement {
|
|
99806
99806
|
}
|
|
99807
|
-
const
|
|
99808
|
-
baseName: 'button',
|
|
99807
|
+
const okExButton = ExButton.compose({
|
|
99808
|
+
baseName: 'ex-button',
|
|
99809
99809
|
template: template$1,
|
|
99810
99810
|
styles: styles$1
|
|
99811
99811
|
});
|
|
99812
|
-
DesignSystem.getOrCreate().withPrefix('ok').register(
|
|
99812
|
+
DesignSystem.getOrCreate().withPrefix('ok').register(okExButton());
|
|
99813
99813
|
|
|
99814
99814
|
const styles = css `
|
|
99815
99815
|
${display('inline-flex')}
|