@ni/nimble-components 1.0.0-beta.104 → 1.0.0-beta.105

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,6 +1,6 @@
1
1
  import { css } from '@microsoft/fast-element';
2
2
  import { display } from '@microsoft/fast-foundation';
3
- import { applicationBackgroundColor, borderWidth, contentFontColor, contentFontSize, drawerHeaderFontFamily, drawerHeaderFontSize, fontFamily, popupBorderColor, popupBoxShadowColor } from '../theme-provider/design-tokens';
3
+ import { applicationBackgroundColor, borderWidth, contentFontColor, contentFontSize, drawerHeaderFontFamily, drawerHeaderFontSize, drawerWidth, fontFamily, popupBorderColor, popupBoxShadowColor } from '../theme-provider/design-tokens';
4
4
  export const styles = css `
5
5
  ${display('block')}
6
6
 
@@ -45,6 +45,7 @@ export const styles = css `
45
45
  display: flex;
46
46
  }
47
47
 
48
+ ${ /* Note: overlay is only present in the DOM when modal=true */''}
48
49
  .overlay {
49
50
  position: fixed;
50
51
  inset: 0px;
@@ -56,15 +57,14 @@ export const styles = css `
56
57
  position: relative;
57
58
  top: 0px;
58
59
  bottom: 0px;
59
- width: fit-content;
60
- height: 100%;
61
60
  display: grid;
62
61
  grid-template-rows: max-content auto max-content;
63
62
  flex-direction: column;
64
63
  box-sizing: border-box;
65
64
  border-radius: 0px;
66
65
  border-width: 0px;
67
- width: var(--drawer-width);
66
+ width: ${drawerWidth};
67
+ height: 100%;
68
68
  background-color: ${applicationBackgroundColor};
69
69
  }
70
70
 
@@ -109,6 +109,7 @@ export const styles = css `
109
109
  padding: var(--standard-padding);
110
110
  display: flex;
111
111
  justify-content: flex-end;
112
+ grid-row: 3;
112
113
  border-top: ${borderWidth} solid ${popupBorderColor};
113
114
  }
114
115
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../src/drawer/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C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AA0B;;;;;;;;;;;;;;wBAc9B,WAAW,UAAU,mBAAmB;;;;;uBAKzC,WAAW,UAAU,mBAAmB;;;MAGzD;AACE;;;EAGE,CAAC,EACP;;;;uBAImB,sBAAsB;qBACxB,oBAAoB;;;;;;;;;;;;;;sBAcnB,WAAW,UAAU,gBAAgB;;CAE1D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "1.0.0-beta.104",
3
+ "version": "1.0.0-beta.105",
4
4
  "description": "Styled web components for the NI Nimble Design System",
5
5
  "scripts": {
6
6
  "build": "npm run build-components && npm run build-storybook",