@genesislcap/foundation-zero 14.493.1-alpha-8ff3328.0 → 14.495.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.
@@ -216,17 +216,6 @@ export declare const baseComponents: {
216
216
  }, typeof import("./notification-listener").NotificationListener>;
217
217
  zeroNumberField: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./number-field").NumberField>;
218
218
  zeroOptgroup: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./optgroup").Optgroup>;
219
- zeroPill: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
220
- baseName: string;
221
- template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
222
- styles: import("@microsoft/fast-element").ElementStyles;
223
- shadowOptions: ShadowRootInit;
224
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
225
- baseName: string;
226
- template: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
227
- styles: import("@microsoft/fast-element").ElementStyles;
228
- shadowOptions: ShadowRootInit;
229
- }, typeof import("./pill").Pill>;
230
219
  zeroProgress: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./progress").Progress>;
231
220
  zeroProgressRing: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").ProgressRingOptions>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").ProgressRingOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
232
221
  zeroRadio: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("./radio").Radio>;
@@ -1 +1 @@
1
- {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAuF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAuFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
1
+ {"version":3,"file":"base-components.d.ts","sourceRoot":"","sources":["../../src/base-components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAsF5D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAsFJ,SAAS,WAAW,GAAG,EAAE;CAe/C,CAAC"}
@@ -52,7 +52,6 @@ export * from './modal';
52
52
  export * from './multiselect';
53
53
  export * from './number-field';
54
54
  export * from './overlays';
55
- export * from './pill';
56
55
  export * from './progress';
57
56
  export * from './progress-ring';
58
57
  export * from './radio';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7F,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC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Ac,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -56,7 +56,6 @@ import type { Multiselect as MultiselectWC } from './multiselect/multiselect';
56
56
  import type { NotificationListener as NotificationListenerWC } from './notification-listener/notification-listener';
57
57
  import type { NumberField as NumberFieldWC } from './number-field/number-field';
58
58
  import type { Optgroup as OptgroupWC } from './optgroup/optgroup';
59
- import type { Pill as PillWC } from './pill/pill';
60
59
  import type { ProgressRing as ProgressRingWC } from './progress-ring/progress-ring';
61
60
  import type { Progress as ProgressWC } from './progress/progress';
62
61
  import type { RadioGroup as RadioGroupWC } from './radio-group/radio-group';
@@ -141,15 +140,6 @@ export declare const AccordionItem: React.ForwardRefExoticComponent<
141
140
  >;
142
141
  export type AccordionItemRef = AccordionItemWC;
143
142
 
144
- export declare const ActionsMenu: React.ForwardRefExoticComponent<
145
- React.PropsWithChildren<
146
- Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
147
- HTMLWCProps & {
148
- }
149
- > & React.RefAttributes<ActionsMenuWC>
150
- >;
151
- export type ActionsMenuRef = ActionsMenuWC;
152
-
153
143
  export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
154
144
  React.PropsWithChildren<
155
145
  Omit<PublicOf<AiCriteriaSearchWC>, 'children' | 'style'> &
@@ -170,6 +160,15 @@ export declare const AiIndicator: React.ForwardRefExoticComponent<
170
160
  >;
171
161
  export type AiIndicatorRef = AiIndicatorWC;
172
162
 
163
+ export declare const ActionsMenu: React.ForwardRefExoticComponent<
164
+ React.PropsWithChildren<
165
+ Omit<PublicOf<ActionsMenuWC>, 'children' | 'style'> &
166
+ HTMLWCProps & {
167
+ }
168
+ > & React.RefAttributes<ActionsMenuWC>
169
+ >;
170
+ export type ActionsMenuRef = ActionsMenuWC;
171
+
173
172
  export declare const Anchor: React.ForwardRefExoticComponent<
174
173
  React.PropsWithChildren<
175
174
  Omit<PublicOf<AnchorWC>, 'children' | 'style'> &
@@ -651,17 +650,6 @@ export declare const Optgroup: React.ForwardRefExoticComponent<
651
650
  >;
652
651
  export type OptgroupRef = OptgroupWC;
653
652
 
654
- export declare const Pill: React.ForwardRefExoticComponent<
655
- React.PropsWithChildren<
656
- Omit<PublicOf<PillWC>, 'children' | 'style'> &
657
- HTMLWCProps & {
658
- onRemove?: (event: CustomEvent<unknown>) => void;
659
- onPillClick?: (event: CustomEvent<unknown>) => void;
660
- }
661
- > & React.RefAttributes<PillWC>
662
- >;
663
- export type PillRef = PillWC;
664
-
665
653
  export declare const Progress: React.ForwardRefExoticComponent<
666
654
  React.PropsWithChildren<
667
655
  Omit<PublicOf<ProgressWC>, 'children' | 'style'> &
@@ -50,7 +50,6 @@ import { zeroNotificationListener } from './notification-listener';
50
50
  import { zeroNumberField } from './number-field';
51
51
  import { zeroOptgroup } from './optgroup';
52
52
  import { zeroSystemHealthOverlay } from './overlays';
53
- import { zeroPill } from './pill';
54
53
  import { zeroProgress } from './progress';
55
54
  import { zeroProgressRing } from './progress-ring';
56
55
  import { zeroRadio } from './radio';
@@ -135,7 +134,6 @@ export const baseComponents = {
135
134
  zeroNotificationListener,
136
135
  zeroNumberField,
137
136
  zeroOptgroup,
138
- zeroPill,
139
137
  zeroProgress,
140
138
  zeroProgressRing,
141
139
  zeroRadio,
package/dist/esm/index.js CHANGED
@@ -52,7 +52,6 @@ export * from './modal';
52
52
  export * from './multiselect';
53
53
  export * from './number-field';
54
54
  export * from './overlays';
55
- export * from './pill';
56
55
  export * from './progress';
57
56
  export * from './progress-ring';
58
57
  export * from './radio';
package/dist/react.cjs CHANGED
@@ -58,7 +58,6 @@ const { Multiselect: MultiselectWC } = require('./esm/multiselect/multiselect.js
58
58
  const { NotificationListener: NotificationListenerWC } = require('./esm/notification-listener/notification-listener.js');
59
59
  const { NumberField: NumberFieldWC } = require('./esm/number-field/number-field.js');
60
60
  const { Optgroup: OptgroupWC } = require('./esm/optgroup/optgroup.js');
61
- const { Pill: PillWC } = require('./esm/pill/pill.js');
62
61
  const { ProgressRing: ProgressRingWC } = require('./esm/progress-ring/progress-ring.js');
63
62
  const { Progress: ProgressWC } = require('./esm/progress/progress.js');
64
63
  const { RadioGroup: RadioGroupWC } = require('./esm/radio-group/radio-group.js');
@@ -113,11 +112,6 @@ const AccordionItem = React.forwardRef(function AccordionItem(props, ref) {
113
112
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
114
113
  });
115
114
 
116
- const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
117
- const { children, ...rest } = props;
118
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
119
- });
120
-
121
115
  const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
122
116
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
123
117
  const _innerRef = React.useRef(null);
@@ -145,6 +139,11 @@ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
145
139
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
146
140
  });
147
141
 
142
+ const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
143
+ const { children, ...rest } = props;
144
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
145
+ });
146
+
148
147
  const Anchor = React.forwardRef(function Anchor(props, ref) {
149
148
  const { children, ...rest } = props;
150
149
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -709,28 +708,6 @@ const Optgroup = React.forwardRef(function Optgroup(props, ref) {
709
708
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
710
709
  });
711
710
 
712
- const Pill = React.forwardRef(function Pill(props, ref) {
713
- const { onRemove, onPillClick, children, ...rest } = props;
714
- const _innerRef = React.useRef(null);
715
- const _onRemoveRef = React.useRef(onRemove);
716
- _onRemoveRef.current = onRemove;
717
- const _onPillClickRef = React.useRef(onPillClick);
718
- _onPillClickRef.current = onPillClick;
719
- React.useLayoutEffect(() => {
720
- const el = _innerRef.current;
721
- if (!el) return;
722
- const _onRemoveFn = (e) => _onRemoveRef.current?.(e);
723
- el.addEventListener('remove', _onRemoveFn);
724
- const _onPillClickFn = (e) => _onPillClickRef.current?.(e);
725
- el.addEventListener('pill-click', _onPillClickFn);
726
- return () => {
727
- el.removeEventListener('remove', _onRemoveFn);
728
- el.removeEventListener('pill-click', _onPillClickFn);
729
- };
730
- }, []);
731
- return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
732
- });
733
-
734
711
  const Progress = React.forwardRef(function Progress(props, ref) {
735
712
  const { children, ...rest } = props;
736
713
  return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
@@ -1047,9 +1024,9 @@ const UrlInput = React.forwardRef(function UrlInput(props, ref) {
1047
1024
  module.exports = {
1048
1025
  Accordion,
1049
1026
  AccordionItem,
1050
- ActionsMenu,
1051
1027
  AiCriteriaSearch,
1052
1028
  AiIndicator,
1029
+ ActionsMenu,
1053
1030
  Anchor,
1054
1031
  AnchoredRegion,
1055
1032
  Avatar,
@@ -1099,7 +1076,6 @@ module.exports = {
1099
1076
  NotificationListener,
1100
1077
  NumberField,
1101
1078
  Optgroup,
1102
- Pill,
1103
1079
  Progress,
1104
1080
  ProgressRing,
1105
1081
  Radio,
package/dist/react.mjs CHANGED
@@ -56,7 +56,6 @@ import { Multiselect as MultiselectWC } from './esm/multiselect/multiselect.js';
56
56
  import { NotificationListener as NotificationListenerWC } from './esm/notification-listener/notification-listener.js';
57
57
  import { NumberField as NumberFieldWC } from './esm/number-field/number-field.js';
58
58
  import { Optgroup as OptgroupWC } from './esm/optgroup/optgroup.js';
59
- import { Pill as PillWC } from './esm/pill/pill.js';
60
59
  import { ProgressRing as ProgressRingWC } from './esm/progress-ring/progress-ring.js';
61
60
  import { Progress as ProgressWC } from './esm/progress/progress.js';
62
61
  import { RadioGroup as RadioGroupWC } from './esm/radio-group/radio-group.js';
@@ -111,11 +110,6 @@ export const AccordionItem = React.forwardRef(function AccordionItem(props, ref)
111
110
  return React.createElement(customElements.getName(AccordionItemWC) ?? '%%prefix%%-card', { ...rest, ref }, children);
112
111
  });
113
112
 
114
- export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
115
- const { children, ...rest } = props;
116
- return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
117
- });
118
-
119
113
  export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref) {
120
114
  const { onCriteriaChanged, onValidationErrors, children, ...rest } = props;
121
115
  const _innerRef = React.useRef(null);
@@ -143,6 +137,11 @@ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
143
137
  return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
144
138
  });
145
139
 
140
+ export const ActionsMenu = React.forwardRef(function ActionsMenu(props, ref) {
141
+ const { children, ...rest } = props;
142
+ return React.createElement(customElements.getName(ActionsMenuWC) ?? '%%prefix%%-actions-menu', { ...rest, ref }, children);
143
+ });
144
+
146
145
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
147
146
  const { children, ...rest } = props;
148
147
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
@@ -707,28 +706,6 @@ export const Optgroup = React.forwardRef(function Optgroup(props, ref) {
707
706
  return React.createElement(customElements.getName(OptgroupWC) ?? '%%prefix%%-optgroup', { ...rest, ref }, children);
708
707
  });
709
708
 
710
- export const Pill = React.forwardRef(function Pill(props, ref) {
711
- const { onRemove, onPillClick, children, ...rest } = props;
712
- const _innerRef = React.useRef(null);
713
- const _onRemoveRef = React.useRef(onRemove);
714
- _onRemoveRef.current = onRemove;
715
- const _onPillClickRef = React.useRef(onPillClick);
716
- _onPillClickRef.current = onPillClick;
717
- React.useLayoutEffect(() => {
718
- const el = _innerRef.current;
719
- if (!el) return;
720
- const _onRemoveFn = (e) => _onRemoveRef.current?.(e);
721
- el.addEventListener('remove', _onRemoveFn);
722
- const _onPillClickFn = (e) => _onPillClickRef.current?.(e);
723
- el.addEventListener('pill-click', _onPillClickFn);
724
- return () => {
725
- el.removeEventListener('remove', _onRemoveFn);
726
- el.removeEventListener('pill-click', _onPillClickFn);
727
- };
728
- }, []);
729
- return React.createElement(customElements.getName(PillWC) ?? '%%prefix%%-pill', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
730
- });
731
-
732
709
  export const Progress = React.forwardRef(function Progress(props, ref) {
733
710
  const { children, ...rest } = props;
734
711
  return React.createElement(customElements.getName(ProgressWC) ?? '%%prefix%%-progress', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.493.1-alpha-8ff3328.0",
4
+ "version": "14.495.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -73,18 +73,18 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
76
- "@genesislcap/genx": "14.493.1-alpha-8ff3328.0",
77
- "@genesislcap/rollup-builder": "14.493.1-alpha-8ff3328.0",
78
- "@genesislcap/ts-builder": "14.493.1-alpha-8ff3328.0",
79
- "@genesislcap/uvu-playwright-builder": "14.493.1-alpha-8ff3328.0",
80
- "@genesislcap/vite-builder": "14.493.1-alpha-8ff3328.0",
81
- "@genesislcap/webpack-builder": "14.493.1-alpha-8ff3328.0"
76
+ "@genesislcap/genx": "14.495.0",
77
+ "@genesislcap/rollup-builder": "14.495.0",
78
+ "@genesislcap/ts-builder": "14.495.0",
79
+ "@genesislcap/uvu-playwright-builder": "14.495.0",
80
+ "@genesislcap/vite-builder": "14.495.0",
81
+ "@genesislcap/webpack-builder": "14.495.0"
82
82
  },
83
83
  "dependencies": {
84
- "@genesislcap/foundation-comms": "14.493.1-alpha-8ff3328.0",
85
- "@genesislcap/foundation-logger": "14.493.1-alpha-8ff3328.0",
86
- "@genesislcap/foundation-ui": "14.493.1-alpha-8ff3328.0",
87
- "@genesislcap/foundation-utils": "14.493.1-alpha-8ff3328.0",
84
+ "@genesislcap/foundation-comms": "14.495.0",
85
+ "@genesislcap/foundation-logger": "14.495.0",
86
+ "@genesislcap/foundation-ui": "14.495.0",
87
+ "@genesislcap/foundation-utils": "14.495.0",
88
88
  "@microsoft/fast-colors": "5.3.1",
89
89
  "@microsoft/fast-components": "2.30.6",
90
90
  "@microsoft/fast-element": "1.14.0",
@@ -111,5 +111,5 @@
111
111
  "require": "./dist/react.cjs"
112
112
  }
113
113
  },
114
- "gitHead": "8c565dfbaf36c06f5a28278da59043c5453c564a"
114
+ "gitHead": "24d26a75271717d40c0b6168b983bd8536a3db7f"
115
115
  }
@@ -1,4 +0,0 @@
1
- export * from './pill';
2
- export * from './pill.styles';
3
- export * from './pill.template';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/pill/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC"}
@@ -1,18 +0,0 @@
1
- import { Pill as FoundationPill } from '@genesislcap/foundation-ui';
2
- /**
3
- * @tagname %%prefix%%-pill
4
- */
5
- export declare class Pill extends FoundationPill {
6
- }
7
- export declare const zeroPill: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
8
- baseName: string;
9
- template: import("@microsoft/fast-element").ViewTemplate<FoundationPill, any>;
10
- styles: import("@microsoft/fast-element").ElementStyles;
11
- shadowOptions: ShadowRootInit;
12
- }>) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
13
- baseName: string;
14
- template: import("@microsoft/fast-element").ViewTemplate<FoundationPill, any>;
15
- styles: import("@microsoft/fast-element").ElementStyles;
16
- shadowOptions: ShadowRootInit;
17
- }, typeof Pill>;
18
- //# sourceMappingURL=pill.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,IAAI,cAAc,EACvB,MAAM,4BAA4B,CAAC;AAIpC;;GAEG;AACH,qBAAa,IAAK,SAAQ,cAAc;CAAG;AAE3C,eAAO,MAAM,QAAQ;;;;;;;;;;eAMnB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ElementStyles } from '@microsoft/fast-element';
2
- export declare const zeroPillStyles: ElementStyles;
3
- //# sourceMappingURL=pill.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.styles.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.styles.ts"],"names":[],"mappings":"AAMA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,eAAO,MAAM,cAAc,EAAE,aAO5B,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const zeroPillTemplate: import("@microsoft/fast-element").ViewTemplate<import("@genesislcap/foundation-ui").Pill, any>;
2
- //# sourceMappingURL=pill.template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pill.template.d.ts","sourceRoot":"","sources":["../../../src/pill/pill.template.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,gGAAyB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './pill';
2
- export * from './pill.styles';
3
- export * from './pill.template';
@@ -1,10 +0,0 @@
1
- import { defaultPillConfig, foundationPillShadowOptions, Pill as FoundationPill, } from '@genesislcap/foundation-ui';
2
- import { zeroPillStyles as styles } from './pill.styles';
3
- import { zeroPillTemplate as template } from './pill.template';
4
- /**
5
- * @tagname %%prefix%%-pill
6
- */
7
- export class Pill extends FoundationPill {
8
- }
9
- export const zeroPill = Pill.compose(Object.assign({ baseName: 'pill', template,
10
- styles, shadowOptions: foundationPillShadowOptions }, defaultPillConfig));
@@ -1,11 +0,0 @@
1
- import { pillStyles as foundationPillStyles } from '@genesislcap/foundation-ui';
2
- import { neutralFillHover, neutralFillRest, neutralForegroundRest, } from '@microsoft/fast-components';
3
- import { css } from '@microsoft/fast-element';
4
- export const zeroPillStyles = css `
5
- ${foundationPillStyles}
6
- :host {
7
- --pill-fill: ${neutralFillRest};
8
- --pill-fill-hover: ${neutralFillHover};
9
- --pill-foreground: ${neutralForegroundRest};
10
- }
11
- `;
@@ -1,2 +0,0 @@
1
- import { foundationPillTemplate } from '@genesislcap/foundation-ui';
2
- export const zeroPillTemplate = foundationPillTemplate;