@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.
@@ -7395,7 +7395,7 @@
7395
7395
  *
7396
7396
  * @public
7397
7397
  */
7398
- let Button$2 = class Button extends FormAssociatedButton {
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$2.prototype, "autofocus", void 0);
7526
+ ], Button$1.prototype, "autofocus", void 0);
7527
7527
  __decorate([
7528
7528
  attr({ attribute: "form" })
7529
- ], Button$2.prototype, "formId", void 0);
7529
+ ], Button$1.prototype, "formId", void 0);
7530
7530
  __decorate([
7531
7531
  attr
7532
- ], Button$2.prototype, "formaction", void 0);
7532
+ ], Button$1.prototype, "formaction", void 0);
7533
7533
  __decorate([
7534
7534
  attr
7535
- ], Button$2.prototype, "formenctype", void 0);
7535
+ ], Button$1.prototype, "formenctype", void 0);
7536
7536
  __decorate([
7537
7537
  attr
7538
- ], Button$2.prototype, "formmethod", void 0);
7538
+ ], Button$1.prototype, "formmethod", void 0);
7539
7539
  __decorate([
7540
7540
  attr({ mode: "boolean" })
7541
- ], Button$2.prototype, "formnovalidate", void 0);
7541
+ ], Button$1.prototype, "formnovalidate", void 0);
7542
7542
  __decorate([
7543
7543
  attr
7544
- ], Button$2.prototype, "formtarget", void 0);
7544
+ ], Button$1.prototype, "formtarget", void 0);
7545
7545
  __decorate([
7546
7546
  attr
7547
- ], Button$2.prototype, "type", void 0);
7547
+ ], Button$1.prototype, "type", void 0);
7548
7548
  __decorate([
7549
7549
  observable
7550
- ], Button$2.prototype, "defaultSlottedContent", void 0);
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$2, StartEnd, DelegatesARIAButton);
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
- let Button$1 = class Button extends Button$2 {
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$1.prototype, "appearance", void 0);
19890
+ ], Button.prototype, "appearance", void 0);
19891
19891
  __decorate([
19892
19892
  attr({ attribute: 'appearance-variant' })
19893
- ], Button$1.prototype, "appearanceVariant", void 0);
19893
+ ], Button.prototype, "appearanceVariant", void 0);
19894
19894
  __decorate([
19895
19895
  attr({ attribute: 'content-hidden', mode: 'boolean' })
19896
- ], Button$1.prototype, "contentHidden", void 0);
19896
+ ], Button.prototype, "contentHidden", void 0);
19897
19897
  __decorate([
19898
19898
  attr({ attribute: 'tabindex', converter: nullableNumberConverter })
19899
- ], Button$1.prototype, "tabIndex", void 0);
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$1.compose({
19909
+ const nimbleButton = Button.compose({
19910
19910
  baseName: 'button',
19911
- baseClass: Button$2,
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$2 {
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$2) {
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 Button extends FoundationElement {
99805
+ class ExButton extends FoundationElement {
99806
99806
  }
99807
- const okButton = Button.compose({
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(okButton());
99812
+ DesignSystem.getOrCreate().withPrefix('ok').register(okExButton());
99813
99813
 
99814
99814
  const styles = css `
99815
99815
  ${display('inline-flex')}