@mirohq/design-system-flex 2.1.3-changelog-1.0 → 2.1.3-checkbox.1

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +23 -6
  2. package/package.json +3 -3
package/dist/types.d.ts CHANGED
@@ -7,13 +7,13 @@ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitiv
7
7
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
8
8
 
9
9
  declare const StyledFlex: react.ForwardRefExoticComponent<Pick<Omit<{
10
- align?: "start" | "stretch" | "center" | "end" | undefined;
10
+ align?: "stretch" | "start" | "center" | "end" | undefined;
11
11
  direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
12
12
  gap?: 200 | "none" | 50 | 100 | 300 | "100" | "200" | "300" | "50" | undefined;
13
13
  justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | undefined;
14
14
  wrap?: "wrap" | "noWrap" | "wrapReverse" | undefined;
15
15
  }, "direction" | "gap" | "wrap" | "justify" | "align"> & _stitches_react_types_styled_component.TransformProps<{
16
- align?: "start" | "stretch" | "center" | "end" | undefined;
16
+ align?: "stretch" | "start" | "center" | "end" | undefined;
17
17
  direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
18
18
  gap?: 200 | "none" | 50 | 100 | 300 | "100" | "200" | "300" | "50" | undefined;
19
19
  justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | undefined;
@@ -111,6 +111,8 @@ declare const StyledFlex: react.ForwardRefExoticComponent<Pick<Omit<{
111
111
  readonly 'background-danger'?: any;
112
112
  readonly 'background-danger-hover'?: any;
113
113
  readonly 'background-success'?: any;
114
+ readonly 'background-warning-subtle'?: any;
115
+ readonly 'background-warning-prominent'?: any;
114
116
  readonly 'text-neutrals-inverted'?: any;
115
117
  readonly 'text-neutrals'?: any;
116
118
  readonly 'text-neutrals-subtle'?: any;
@@ -149,12 +151,17 @@ declare const StyledFlex: react.ForwardRefExoticComponent<Pick<Omit<{
149
151
  readonly 'icon-success-inverted'?: any;
150
152
  readonly 'icon-success'?: any;
151
153
  readonly 'icon-warning'?: any;
154
+ readonly 'border-focus-outer'?: any;
155
+ readonly 'border-focus-middle'?: any;
156
+ readonly 'border-focus-inner'?: any;
152
157
  readonly 'border-neutrals'?: any;
153
158
  readonly 'border-neutrals-hover'?: any;
154
159
  readonly 'border-neutrals-active'?: any;
155
160
  readonly 'border-neutrals-disabled'?: any;
156
161
  readonly 'border-neutrals-controls'?: any;
157
162
  readonly 'border-neutrals-controls-disabled'?: any;
163
+ readonly 'border-neutrals-subtle'?: any;
164
+ readonly 'border-neutrals-inverted'?: any;
158
165
  readonly 'border-primary'?: any;
159
166
  readonly 'border-primary-hover'?: any;
160
167
  readonly 'border-primary-active'?: any;
@@ -188,9 +195,9 @@ declare const StyledFlex: react.ForwardRefExoticComponent<Pick<Omit<{
188
195
  shadows: {
189
196
  readonly 50: "0 4px 16px #05003812";
190
197
  readonly 100: "0 8px 32px #05003808";
191
- readonly 'focus-small': "0 0 0 2px $colors$blue-200, inset 0 0 0 2px $colors$blue-500, inset 0 0 0 3px $colors$white";
192
- readonly 'focus-large': "0 0 0 4px $colors$blue-200, inset 0 0 0 2px $colors$blue-500, inset 0 0 0 3px $colors$white";
193
- readonly 'focus-controls': "0 0 0 1px $colors$white, 0 0 0 3px $colors$blue-500, 0 0 0 5px $colors$blue-200";
198
+ readonly 'focus-small': "0 0 0 2px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
199
+ readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
200
+ readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
194
201
  };
195
202
  sizes: {
196
203
  readonly number: string;
@@ -427,8 +434,18 @@ declare const StyledFlex: react.ForwardRefExoticComponent<Pick<Omit<{
427
434
  readonly [$$PropertyValue]: "margin";
428
435
  };
429
436
  };
437
+ square: (value: {
438
+ readonly [$$PropertyValue]: "width";
439
+ }) => {
440
+ width: {
441
+ readonly [$$PropertyValue]: "width";
442
+ };
443
+ height: {
444
+ readonly [$$PropertyValue]: "width";
445
+ };
446
+ };
430
447
  }>>> & _mirohq_design_system_stitches.CustomStylesProps, "color" | "direction" | "translate" | "gap" | "prefix" | "asChild" | "slot" | "title" | "placeholder" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "justify" | "align" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {
431
- align?: "start" | "stretch" | "center" | "end" | undefined;
448
+ align?: "stretch" | "start" | "center" | "end" | undefined;
432
449
  direction?: "column" | "row" | "rowReverse" | "columnReverse" | undefined;
433
450
  gap?: 200 | "none" | 50 | 100 | 300 | "100" | "200" | "300" | "50" | undefined;
434
451
  justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-flex",
3
- "version": "2.1.3-changelog-1.0",
3
+ "version": "2.1.3-checkbox.1",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@mirohq/design-system-primitive": "^1.1.0",
30
- "@mirohq/design-system-stitches": "^2.1.2-changelog-1.0",
31
- "@mirohq/design-system-utils": "^0.12.0"
30
+ "@mirohq/design-system-stitches": "^2.2.0-checkbox.0",
31
+ "@mirohq/design-system-utils": "^0.12.1"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "rollup -c ../../../rollup.config.js",