@genesislcap/rapid-design-system 14.459.0 → 14.461.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.
@@ -1 +1 @@
1
- {"version":3,"file":"combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/combobox/combobox.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,mBAAmB,GAC9B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aA+EF,CAAC"}
1
+ {"version":3,"file":"combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/combobox/combobox.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,mBAAmB,GAC9B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAgFF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"listbox-option.styles.d.ts","sourceRoot":"","sources":["../../../src/listbox-option/listbox-option.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,wBAAwB,GACnC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAiBF,CAAC"}
1
+ {"version":3,"file":"listbox-option.styles.d.ts","sourceRoot":"","sources":["../../../src/listbox-option/listbox-option.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,wBAAwB,GACnC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAkBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,iDAsG7B,CAAC"}
1
+ {"version":3,"file":"multiselect.styles.d.ts","sourceRoot":"","sources":["../../../src/multiselect/multiselect.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,iDA2G7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"number-field.styles.d.ts","sourceRoot":"","sources":["../../../src/number-field/number-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,GACjC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAiGF,CAAC"}
1
+ {"version":3,"file":"number-field.styles.d.ts","sourceRoot":"","sources":["../../../src/number-field/number-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,sBAAsB,GACjC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAqGF,CAAC"}
@@ -171,6 +171,15 @@ export declare const Anchor: React.ForwardRefExoticComponent<
171
171
  >;
172
172
  export type AnchorRef = AnchorWC;
173
173
 
174
+ export declare const Avatar: React.ForwardRefExoticComponent<
175
+ React.PropsWithChildren<
176
+ Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
177
+ HTMLWCProps & {
178
+ }
179
+ > & React.RefAttributes<AvatarWC>
180
+ >;
181
+ export type AvatarRef = AvatarWC;
182
+
174
183
  export declare const AnchoredRegion: React.ForwardRefExoticComponent<
175
184
  React.PropsWithChildren<
176
185
  Omit<PublicOf<AnchoredRegionWC>, 'children' | 'style'> &
@@ -182,15 +191,6 @@ export declare const AnchoredRegion: React.ForwardRefExoticComponent<
182
191
  >;
183
192
  export type AnchoredRegionRef = AnchoredRegionWC;
184
193
 
185
- export declare const Avatar: React.ForwardRefExoticComponent<
186
- React.PropsWithChildren<
187
- Omit<PublicOf<AvatarWC>, 'children' | 'style'> &
188
- HTMLWCProps & {
189
- }
190
- > & React.RefAttributes<AvatarWC>
191
- >;
192
- export type AvatarRef = AvatarWC;
193
-
194
194
  export declare const Badge: React.ForwardRefExoticComponent<
195
195
  React.PropsWithChildren<
196
196
  Omit<PublicOf<BadgeWC>, 'children' | 'style'> &
@@ -1 +1 @@
1
- {"version":3,"file":"segmented-control.styles.d.ts","sourceRoot":"","sources":["../../../src/segmented-control/segmented-control.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,2BAA2B,GACtC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aA4CF,CAAC"}
1
+ {"version":3,"file":"segmented-control.styles.d.ts","sourceRoot":"","sources":["../../../src/segmented-control/segmented-control.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,2BAA2B,GACtC,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aA6CF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"segmented-item.styles.d.ts","sourceRoot":"","sources":["../../../src/segmented-item/segmented-item.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEzF,eAAO,MAAM,wBAAwB,GACnC,SAAS,wBAAwB,EACjC,YAAY,YAAY,KACvB,aAeF,CAAC"}
1
+ {"version":3,"file":"segmented-item.styles.d.ts","sourceRoot":"","sources":["../../../src/segmented-item/segmented-item.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEzF,eAAO,MAAM,wBAAwB,GACnC,SAAS,wBAAwB,EACjC,YAAY,YAAY,KACvB,aAgBF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aAuDF,CAAC"}
1
+ {"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../src/text-field/text-field.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,oBAAoB,GAC/B,SAAS,wBAAwB,EACjC,YAAY,2BAA2B,KACtC,aA2DF,CAAC"}
@@ -11,6 +11,7 @@ export const rapidComboboxStyles = (context, definition) => css `
11
11
  height: calc(
12
12
  (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px
13
13
  );
14
+ min-width: 0;
14
15
  }
15
16
 
16
17
  :host(:focus-within:not([disabled])) {
@@ -14,8 +14,9 @@ export const rapidListboxOptionStyles = (context, definition) => css `
14
14
  :host(.selected),
15
15
  :host(:not([disabled])[aria-selected='true']:active),
16
16
  :host(:not([disabled])[aria-selected='true']:hover) {
17
- background: var(--neutral-layer-4);
17
+ background: var(--neutral-layer-2);
18
18
  color: var(--accent-fill-rest);
19
+ font-weight: 500;
19
20
  }
20
21
  `;
21
22
  // TODO: adjust margin on host
@@ -3,6 +3,10 @@ import { css } from '@microsoft/fast-element';
3
3
  export const multiselectStyles = css `
4
4
  ${foundationMultiselectStyles}
5
5
 
6
+ .root {
7
+ min-width: 0;
8
+ }
9
+
6
10
  .control {
7
11
  height: calc(
8
12
  (((var(--base-height-multiplier) + var(--density)) * var(--design-unit)) - 4) * 1px
@@ -39,7 +43,8 @@ export const multiselectStyles = css `
39
43
  #display-field {
40
44
  min-height: unset;
41
45
  padding: 0 calc((var(--design-unit) - 2) * 1px) 0 calc(var(--design-unit) * 2px);
42
- font-family: var(--body-font);
46
+ font-family: var(--body-font), sans-serif;
47
+ font-size: var(--type-ramp-base-font-size);
43
48
  background-color: transparent;
44
49
  }
45
50
 
@@ -96,5 +96,9 @@ export const rapidNumberFieldStyles = (context, definition) => css `
96
96
  outline: none;
97
97
  }
98
98
 
99
+ :host .control-field .control {
100
+ width: 100%;
101
+ }
102
+
99
103
  ${sharedFieldStyles}
100
104
  `;
@@ -3,7 +3,7 @@ import { css } from '@microsoft/fast-element';
3
3
  export const rapidRadioStyles = (context, definition) => css `
4
4
  ${foundationRadioStyles(context, definition)}
5
5
  :host {
6
- margin: calc(var(--design-unit) * 2px) 0 calc(var(--design-unit) * 2px) 0;
6
+ margin: 0;
7
7
  }
8
8
 
9
9
  :host .control {
@@ -4,6 +4,7 @@ export const rapidSegmentedControlStyles = (context, definition) => css `
4
4
  ${foundationSegmentedControlStyles(context, definition)}
5
5
  :host {
6
6
  font-family: var(--body-font);
7
+ margin: 0;
7
8
  }
8
9
 
9
10
  :host ::slotted(*) {
@@ -10,6 +10,7 @@ export const rapidSegmentedItemStyles = (context, definition) => css `
10
10
  box-sizing: border-box;
11
11
  height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);
12
12
  padding: 0 calc((16 + var(--design-unit) * 2 * var(--density)) * 1px);
13
+ margin: 0;
13
14
  }
14
15
 
15
16
  :host([aria-checked='true']) {
@@ -15,6 +15,10 @@ export const rapidTextFieldStyles = (context, definition) => css `
15
15
  padding: 0 calc(var(--design-unit) * 2px);
16
16
  }
17
17
 
18
+ :host .control-field .control {
19
+ width: 100%;
20
+ }
21
+
18
22
  :host .root {
19
23
  border-style: solid;
20
24
  border-width: var(--neutral-stroke-width-rest, 1px 1px 1px 1px);
package/dist/react.cjs CHANGED
@@ -144,6 +144,11 @@ const Anchor = React.forwardRef(function Anchor(props, ref) {
144
144
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
145
145
  });
146
146
 
147
+ const Avatar = React.forwardRef(function Avatar(props, ref) {
148
+ const { children, ...rest } = props;
149
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
150
+ });
151
+
147
152
  const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
148
153
  const { onLoaded, onPositionchange, children, ...rest } = props;
149
154
  const _innerRef = React.useRef(null);
@@ -166,11 +171,6 @@ const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
166
171
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
167
172
  });
168
173
 
169
- const Avatar = React.forwardRef(function Avatar(props, ref) {
170
- const { children, ...rest } = props;
171
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
172
- });
173
-
174
174
  const Badge = React.forwardRef(function Badge(props, ref) {
175
175
  const { children, ...rest } = props;
176
176
  return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
@@ -928,8 +928,8 @@ module.exports = {
928
928
  AiCriteriaSearch,
929
929
  AiIndicator,
930
930
  Anchor,
931
- AnchoredRegion,
932
931
  Avatar,
932
+ AnchoredRegion,
933
933
  Badge,
934
934
  Banner,
935
935
  Breadcrumb,
package/dist/react.mjs CHANGED
@@ -142,6 +142,11 @@ export const Anchor = React.forwardRef(function Anchor(props, ref) {
142
142
  return React.createElement(customElements.getName(AnchorWC) ?? '%%prefix%%-anchor', { ...rest, ref }, children);
143
143
  });
144
144
 
145
+ export const Avatar = React.forwardRef(function Avatar(props, ref) {
146
+ const { children, ...rest } = props;
147
+ return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
148
+ });
149
+
145
150
  export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, ref) {
146
151
  const { onLoaded, onPositionchange, children, ...rest } = props;
147
152
  const _innerRef = React.useRef(null);
@@ -164,11 +169,6 @@ export const AnchoredRegion = React.forwardRef(function AnchoredRegion(props, re
164
169
  return React.createElement(customElements.getName(AnchoredRegionWC) ?? '%%prefix%%-anchored-region', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
165
170
  });
166
171
 
167
- export const Avatar = React.forwardRef(function Avatar(props, ref) {
168
- const { children, ...rest } = props;
169
- return React.createElement(customElements.getName(AvatarWC) ?? '%%prefix%%-avatar', { ...rest, ref }, children);
170
- });
171
-
172
172
  export const Badge = React.forwardRef(function Badge(props, ref) {
173
173
  const { children, ...rest } = props;
174
174
  return React.createElement(customElements.getName(BadgeWC) ?? '%%prefix%%-badge', { ...rest, ref }, children);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/rapid-design-system",
3
3
  "description": "Rapid Design System",
4
- "version": "14.459.0",
4
+ "version": "14.461.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -35,17 +35,17 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
38
- "@genesislcap/genx": "14.459.0",
39
- "@genesislcap/rollup-builder": "14.459.0",
40
- "@genesislcap/ts-builder": "14.459.0",
41
- "@genesislcap/uvu-playwright-builder": "14.459.0",
42
- "@genesislcap/vite-builder": "14.459.0",
43
- "@genesislcap/webpack-builder": "14.459.0"
38
+ "@genesislcap/genx": "14.461.0",
39
+ "@genesislcap/rollup-builder": "14.461.0",
40
+ "@genesislcap/ts-builder": "14.461.0",
41
+ "@genesislcap/uvu-playwright-builder": "14.461.0",
42
+ "@genesislcap/vite-builder": "14.461.0",
43
+ "@genesislcap/webpack-builder": "14.461.0"
44
44
  },
45
45
  "dependencies": {
46
- "@genesislcap/foundation-logger": "14.459.0",
47
- "@genesislcap/foundation-ui": "14.459.0",
48
- "@genesislcap/foundation-utils": "14.459.0",
46
+ "@genesislcap/foundation-logger": "14.461.0",
47
+ "@genesislcap/foundation-ui": "14.461.0",
48
+ "@genesislcap/foundation-utils": "14.461.0",
49
49
  "@microsoft/fast-colors": "5.3.1",
50
50
  "@microsoft/fast-components": "2.30.6",
51
51
  "@microsoft/fast-element": "1.14.0",
@@ -73,5 +73,5 @@
73
73
  "require": "./dist/react.cjs"
74
74
  }
75
75
  },
76
- "gitHead": "b501804b11ff99945c7c6d2afbe7a101e1bb735a"
76
+ "gitHead": "d87c27bf9e91f6f5d1cf51992e7892df9434c9be"
77
77
  }