@rbxts/uiblox 0.2.0-alpha.14 → 0.2.0-alpha.16

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 (24) hide show
  1. package/out/ui/packages/accordion/components/Accordion.luau +17 -6
  2. package/out/ui/packages/accordion/components/Accordion.styles.luau +12 -2
  3. package/out/ui/packages/accordion/components/accordionOpen.d.ts +1 -0
  4. package/out/ui/packages/accordion/components/accordionOpen.luau +4 -0
  5. package/out/ui/packages/avatar/components/Avatar.d.ts +2 -0
  6. package/out/ui/packages/avatar/components/Avatar.luau +20 -12
  7. package/out/ui/packages/avatar/components/Avatar.styles.d.ts +2 -0
  8. package/out/ui/packages/avatar/components/Avatar.styles.luau +5 -1
  9. package/out/ui/packages/fab/components/Fab.d.ts +2 -0
  10. package/out/ui/packages/fab/components/Fab.luau +5 -0
  11. package/out/ui/packages/fab/components/Fab.styles.d.ts +2 -0
  12. package/out/ui/packages/fab/components/Fab.styles.luau +8 -3
  13. package/out/ui/packages/imageList/components/ImageList.luau +17 -1
  14. package/out/ui/packages/imageList/components/ImageList.styles.luau +19 -0
  15. package/out/ui/packages/imageList/components/imageListLayout.d.ts +1 -0
  16. package/out/ui/packages/imageList/components/imageListLayout.luau +7 -0
  17. package/out/ui/packages/paper/components/Paper.d.ts +1 -1
  18. package/out/ui/packages/paper/components/Paper.luau +7 -1
  19. package/out/ui/packages/paper/components/Paper.styles.d.ts +1 -1
  20. package/out/ui/packages/paper/components/Paper.styles.luau +6 -0
  21. package/out/ui/packages/rating/components/Rating.d.ts +1 -0
  22. package/out/ui/packages/rating/components/Rating.luau +2 -1
  23. package/out/ui/packages/stateMatrix.luau +233 -197
  24. package/package.json +2 -2
@@ -3,7 +3,10 @@ local TS = _G[script]
3
3
  local _react = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
4
  local React = _react
5
5
  local useState = _react.useState
6
- local accordionOpen = TS.import(script, script.Parent, "accordionOpen").accordionOpen
6
+ local Icons = TS.import(script, script.Parent.Parent.Parent.Parent, "enums").Icons
7
+ local _accordionOpen = TS.import(script, script.Parent, "accordionOpen")
8
+ local accordionGlyph = _accordionOpen.accordionGlyph
9
+ local accordionOpen = _accordionOpen.accordionOpen
7
10
  local useAccordionStyles = TS.import(script, script.Parent, "Accordion.styles").default
8
11
  local function Accordion(props)
9
12
  local _binding = props
@@ -81,16 +84,24 @@ local function Accordion(props)
81
84
  _attributes_5[_k] = _v
82
85
  end
83
86
  _attributes_5.Text = title
84
- local _exp_3 = React.createElement("textbutton", _attributes_3, _exp_2, React.createElement("textlabel", _attributes_5))
87
+ local _exp_3 = React.createElement("textlabel", _attributes_5)
85
88
  local _attributes_6 = {
89
+ key = "Icon",
90
+ }
91
+ for _k, _v in styles.icon do
92
+ _attributes_6[_k] = _v
93
+ end
94
+ _attributes_6.Image = if accordionGlyph(open) == "expanded" then Icons.Expanded else Icons.Collapsed
95
+ local _exp_4 = React.createElement("textbutton", _attributes_3, _exp_2, _exp_3, React.createElement("imagelabel", _attributes_6))
96
+ local _attributes_7 = {
86
97
  key = "Body",
87
98
  }
88
99
  for _k, _v in styles.body do
89
- _attributes_6[_k] = _v
100
+ _attributes_7[_k] = _v
90
101
  end
91
- local _attributes_7 = table.clone(styles.padding)
92
- setmetatable(_attributes_7, nil)
93
- return React.createElement("frame", _attributes, _exp, _exp_1, _exp_3, React.createElement("frame", _attributes_6, React.createElement("uipadding", _attributes_7), children))
102
+ local _attributes_8 = table.clone(styles.padding)
103
+ setmetatable(_attributes_8, nil)
104
+ return React.createElement("frame", _attributes, _exp, _exp_1, _exp_4, React.createElement("frame", _attributes_7, React.createElement("uipadding", _attributes_8), children))
94
105
  end
95
106
  local default = Accordion
96
107
  return {
@@ -32,8 +32,8 @@ local useAccordionStyles = componentStyles("Accordion", function(theme, _param)
32
32
  Selectable = disabled ~= true,
33
33
  },
34
34
  title = {
35
- AutomaticSize = Enum.AutomaticSize.XY,
36
- Size = UDim2.fromScale(0, 0),
35
+ AutomaticSize = Enum.AutomaticSize.Y,
36
+ Size = UDim2.new(1, -theme.spacing.calc(4), 0, 0),
37
37
  BackgroundTransparency = 1,
38
38
  BorderSizePixel = 0,
39
39
  Font = theme.typography.fontFamilies.default,
@@ -42,6 +42,16 @@ local useAccordionStyles = componentStyles("Accordion", function(theme, _param)
42
42
  TextTransparency = if disabled == true then 0.5 else 0,
43
43
  TextXAlignment = Enum.TextXAlignment.Left,
44
44
  },
45
+ icon = {
46
+ Size = UDim2.fromOffset(theme.options.constants.iconSizes.small, theme.options.constants.iconSizes.small),
47
+ Position = UDim2.new(1, -theme.padding.calc(1.5), 0.5, 0),
48
+ AnchorPoint = Vector2.new(1, 0.5),
49
+ BackgroundTransparency = 1,
50
+ BorderSizePixel = 0,
51
+ ScaleType = Enum.ScaleType.Fit,
52
+ ImageColor3 = theme.palette.text.primary,
53
+ ImageTransparency = if disabled == true then 0.5 else 0,
54
+ },
45
55
  padding = {
46
56
  PaddingTop = UDim.new(0, theme.padding.calc(1)),
47
57
  PaddingBottom = UDim.new(0, theme.padding.calc(1)),
@@ -1 +1,2 @@
1
1
  export declare function accordionOpen(expanded: boolean | undefined, controlled: boolean | undefined): boolean;
2
+ export declare function accordionGlyph(open?: boolean): "expanded" | "collapsed";
@@ -5,6 +5,10 @@ local function accordionOpen(expanded, controlled)
5
5
  end
6
6
  return expanded == true
7
7
  end
8
+ local function accordionGlyph(open)
9
+ return if open == true then "expanded" else "collapsed"
10
+ end
8
11
  return {
9
12
  accordionOpen = accordionOpen,
13
+ accordionGlyph = accordionGlyph,
10
14
  }
@@ -1,8 +1,10 @@
1
1
  import { CustomizedProps } from "../../../../theme/index";
2
+ import { AvatarVariant } from "./Avatar.styles";
2
3
  export interface AvatarProps {
3
4
  name?: string;
4
5
  image?: string;
5
6
  size?: number;
7
+ variant?: AvatarVariant;
6
8
  }
7
9
  declare function Avatar(props: CustomizedProps<Frame, AvatarProps>): JSX.Element;
8
10
  export default Avatar;
@@ -11,12 +11,17 @@ local function Avatar(props)
11
11
  end
12
12
  local image = _binding.image
13
13
  local size = _binding.size
14
+ local variant = _binding.variant
15
+ if variant == nil then
16
+ variant = "circular"
17
+ end
14
18
  local className = _binding.className
15
19
  local sx = _binding.sx
16
20
  local id = _binding.id
17
21
  local ref = _binding.ref
18
22
  local styles = useAvatarStyles({
19
23
  size = size,
24
+ variant = variant,
20
25
  })
21
26
  local _attributes = {}
22
27
  local _condition = id
@@ -38,30 +43,33 @@ local function Avatar(props)
38
43
  _attributes[_k] = _v
39
44
  end
40
45
  end
41
- local _attributes_1 = table.clone(styles.corner)
42
- setmetatable(_attributes_1, nil)
43
- local _exp = React.createElement("uicorner", _attributes_1)
46
+ local _condition_1 = variant ~= "square"
47
+ if _condition_1 then
48
+ local _attributes_1 = table.clone(styles.corner)
49
+ setmetatable(_attributes_1, nil)
50
+ _condition_1 = React.createElement("uicorner", _attributes_1)
51
+ end
44
52
  local _result
45
53
  if image ~= nil then
46
- local _attributes_2 = {
54
+ local _attributes_1 = {
47
55
  key = "Image",
48
56
  }
49
57
  for _k, _v in styles.image do
50
- _attributes_2[_k] = _v
58
+ _attributes_1[_k] = _v
51
59
  end
52
- _attributes_2.Image = image
53
- _result = (React.createElement("imagelabel", _attributes_2))
60
+ _attributes_1.Image = image
61
+ _result = (React.createElement("imagelabel", _attributes_1))
54
62
  else
55
- local _attributes_2 = {
63
+ local _attributes_1 = {
56
64
  key = "Initials",
57
65
  }
58
66
  for _k, _v in styles.text do
59
- _attributes_2[_k] = _v
67
+ _attributes_1[_k] = _v
60
68
  end
61
- _attributes_2.Text = avatarInitials(name)
62
- _result = (React.createElement("textlabel", _attributes_2))
69
+ _attributes_1.Text = avatarInitials(name)
70
+ _result = (React.createElement("textlabel", _attributes_1))
63
71
  end
64
- return React.createElement("frame", _attributes, _exp, _result)
72
+ return React.createElement("frame", _attributes, _condition_1, _result)
65
73
  end
66
74
  local default = Avatar
67
75
  return {
@@ -1,4 +1,6 @@
1
+ export type AvatarVariant = "circular" | "rounded" | "square";
1
2
  declare const useAvatarStyles: (props: {
2
3
  size?: number;
4
+ variant?: AvatarVariant;
3
5
  }) => import("../../../../theme/index").ClassNameMap<string>;
4
6
  export default useAvatarStyles;
@@ -8,6 +8,10 @@ local useAvatarStyles = componentStyles("Avatar", function(theme, _param)
8
8
  if size == nil then
9
9
  size = 40
10
10
  end
11
+ local variant = _param.variant
12
+ if variant == nil then
13
+ variant = "circular"
14
+ end
11
15
  return createStyles({
12
16
  root = {
13
17
  Size = UDim2.fromOffset(size, size),
@@ -29,7 +33,7 @@ local useAvatarStyles = componentStyles("Avatar", function(theme, _param)
29
33
  TextColor3 = theme.palette.primary.on,
30
34
  },
31
35
  corner = {
32
- CornerRadius = UDim.new(1, 0),
36
+ CornerRadius = if variant == "rounded" then UDim.new(0, theme.shape.borderRadius) else UDim.new(1, 0),
33
37
  },
34
38
  })
35
39
  end)
@@ -1,10 +1,12 @@
1
1
  import { CustomizedProps } from "../../../../theme/index";
2
2
  import { Icons } from "../../../enums/index";
3
3
  import { FabSize } from "./fabSize";
4
+ import { FabColor } from "./Fab.styles";
4
5
  export interface FabProps {
5
6
  icon: Icons;
6
7
  label?: string;
7
8
  size?: FabSize;
9
+ color?: FabColor;
8
10
  disabled?: boolean;
9
11
  loading?: boolean;
10
12
  reducedMotion?: boolean;
@@ -20,6 +20,10 @@ local function Fab(props)
20
20
  if size == nil then
21
21
  size = "medium"
22
22
  end
23
+ local color = _binding.color
24
+ if color == nil then
25
+ color = "primary"
26
+ end
23
27
  local disabled = _binding.disabled
24
28
  local loading = _binding.loading
25
29
  if loading == nil then
@@ -35,6 +39,7 @@ local function Fab(props)
35
39
  local extended = fabExtended(label)
36
40
  local styles = useFabStyles({
37
41
  size = size,
42
+ color = color,
38
43
  disabled = not active,
39
44
  extended = extended,
40
45
  })
@@ -1,6 +1,8 @@
1
1
  import { FabSize } from "./fabSize";
2
+ export type FabColor = "primary" | "accent";
2
3
  export interface FabStyleProps {
3
4
  size?: FabSize;
5
+ color?: FabColor;
4
6
  disabled?: boolean;
5
7
  extended?: boolean;
6
8
  }
@@ -9,14 +9,19 @@ local useFabStyles = componentStyles("Fab", function(theme, _param)
9
9
  if size == nil then
10
10
  size = "medium"
11
11
  end
12
+ local color = _param.color
13
+ if color == nil then
14
+ color = "primary"
15
+ end
12
16
  local disabled = _param.disabled
13
17
  local extended = _param.extended
14
18
  local diameter = fabPixels(size)
19
+ local tone = if color == "accent" then theme.palette.accent else theme.palette.primary
15
20
  return createStyles({
16
21
  root = {
17
22
  Size = if extended == true then UDim2.new(0, 0, 0, diameter) else UDim2.fromOffset(diameter, diameter),
18
23
  AutomaticSize = if extended == true then Enum.AutomaticSize.X else Enum.AutomaticSize.None,
19
- BackgroundColor3 = theme.palette.primary.main,
24
+ BackgroundColor3 = tone.main,
20
25
  BackgroundTransparency = if disabled then 0.5 else 0,
21
26
  BorderSizePixel = 0,
22
27
  AutoButtonColor = false,
@@ -42,7 +47,7 @@ local useFabStyles = componentStyles("Fab", function(theme, _param)
42
47
  BackgroundTransparency = 1,
43
48
  BorderSizePixel = 0,
44
49
  ScaleType = Enum.ScaleType.Fit,
45
- ImageColor3 = theme.palette.primary.on,
50
+ ImageColor3 = tone.on,
46
51
  ImageTransparency = if disabled then 0.5 else 0,
47
52
  LayoutOrder = 1,
48
53
  },
@@ -53,7 +58,7 @@ local useFabStyles = componentStyles("Fab", function(theme, _param)
53
58
  BorderSizePixel = 0,
54
59
  Font = theme.typography.fontFamilies.default,
55
60
  TextSize = theme.typography.fontSizes.body,
56
- TextColor3 = theme.palette.primary.on,
61
+ TextColor3 = tone.on,
57
62
  TextTransparency = if disabled then 0.5 else 0,
58
63
  LayoutOrder = 2,
59
64
  },
@@ -1,6 +1,7 @@
1
1
  -- Compiled with roblox-ts v3.0.0
2
2
  local TS = _G[script]
3
3
  local React = TS.import(script, TS.getModule(script, "@rbxts", "react"))
4
+ local imageListTitle = TS.import(script, script.Parent, "imageListLayout").imageListTitle
4
5
  local useImageListStyles = TS.import(script, script.Parent, "ImageList.styles").default
5
6
  local function ImageList(props)
6
7
  local _binding = props
@@ -44,6 +45,7 @@ local function ImageList(props)
44
45
  -- ▼ ReadonlyArray.map ▼
45
46
  local _newValue = table.create(#items)
46
47
  local _callback = function(item, index)
48
+ local title = imageListTitle(item.title)
47
49
  local _attributes_2 = {
48
50
  key = `Tile-{index}`,
49
51
  }
@@ -70,7 +72,21 @@ local function ImageList(props)
70
72
  _attributes_4[_k] = _v
71
73
  end
72
74
  _attributes_4.Image = item.src
73
- return React.createElement("imagebutton", _attributes_2, _exp_1, React.createElement("imagelabel", _attributes_4))
75
+ local _exp_2 = React.createElement("imagelabel", _attributes_4)
76
+ local _condition_1 = title ~= nil
77
+ if _condition_1 then
78
+ local _attributes_5 = {
79
+ key = "Title",
80
+ }
81
+ for _k, _v in styles.title do
82
+ _attributes_5[_k] = _v
83
+ end
84
+ _attributes_5.Text = title
85
+ local _attributes_6 = table.clone(styles.titlePad)
86
+ setmetatable(_attributes_6, nil)
87
+ _condition_1 = (React.createElement("textlabel", _attributes_5, React.createElement("uipadding", _attributes_6)))
88
+ end
89
+ return React.createElement("imagebutton", _attributes_2, _exp_1, _exp_2, _condition_1)
74
90
  end
75
91
  for _k, _v in items do
76
92
  _newValue[_k] = _callback(_v, _k - 1, items)
@@ -13,6 +13,7 @@ local useImageListStyles = componentStyles("ImageList", function(theme, _param)
13
13
  local itemSize = _param.itemSize
14
14
  local size = imageListItemSize(itemSize)
15
15
  local pad = theme.spacing.calc(imageListGap(gap))
16
+ local bar = theme.spacing.calc(2.5)
16
17
  return createStyles({
17
18
  root = {
18
19
  AutomaticSize = Enum.AutomaticSize.XY,
@@ -35,6 +36,7 @@ local useImageListStyles = componentStyles("ImageList", function(theme, _param)
35
36
  BackgroundColor3 = theme.palette.surface.input,
36
37
  BorderSizePixel = 0,
37
38
  AutoButtonColor = false,
39
+ ClipsDescendants = true,
38
40
  Text = "",
39
41
  },
40
42
  corner = {
@@ -46,6 +48,23 @@ local useImageListStyles = componentStyles("ImageList", function(theme, _param)
46
48
  BorderSizePixel = 0,
47
49
  ScaleType = Enum.ScaleType.Crop,
48
50
  },
51
+ title = {
52
+ Size = UDim2.new(1, 0, 0, bar),
53
+ Position = UDim2.new(0, 0, 1, -bar),
54
+ BackgroundColor3 = theme.palette.surface.overlay,
55
+ BackgroundTransparency = 0.25,
56
+ BorderSizePixel = 0,
57
+ Font = theme.typography.fontFamilies.default,
58
+ TextSize = theme.typography.fontSizes.caption,
59
+ TextColor3 = theme.palette.text.inverse,
60
+ TextXAlignment = Enum.TextXAlignment.Left,
61
+ TextTruncate = Enum.TextTruncate.AtEnd,
62
+ ZIndex = 2,
63
+ },
64
+ titlePad = {
65
+ PaddingLeft = UDim.new(0, theme.spacing.calc(0.5)),
66
+ PaddingRight = UDim.new(0, theme.spacing.calc(0.5)),
67
+ },
49
68
  })
50
69
  end)
51
70
  local default = useImageListStyles
@@ -1,3 +1,4 @@
1
1
  export declare function imageListCols(cols?: number): number;
2
2
  export declare function imageListGap(gap?: number): number;
3
3
  export declare function imageListItemSize(itemSize?: number): number;
4
+ export declare function imageListTitle(title?: string): string | undefined;
@@ -17,8 +17,15 @@ local function imageListItemSize(itemSize)
17
17
  end
18
18
  return math.floor(itemSize)
19
19
  end
20
+ local function imageListTitle(title)
21
+ if title == nil or #title == 0 then
22
+ return nil
23
+ end
24
+ return title
25
+ end
20
26
  return {
21
27
  imageListCols = imageListCols,
22
28
  imageListGap = imageListGap,
23
29
  imageListItemSize = imageListItemSize,
30
+ imageListTitle = imageListTitle,
24
31
  }
@@ -1,5 +1,5 @@
1
1
  import React from "@rbxts/react";
2
- export type PaperElevation = "flat" | "raised";
2
+ export type PaperElevation = "flat" | "raised" | "outlined";
3
3
  export interface PaperProps {
4
4
  elevation?: PaperElevation;
5
5
  square?: boolean;
@@ -28,7 +28,13 @@ local function Paper(props)
28
28
  setmetatable(_attributes_2, nil)
29
29
  _condition = React.createElement("uicorner", _attributes_2)
30
30
  end
31
- return React.createElement("frame", _attributes, _exp, _condition, children)
31
+ local _condition_1 = elevation == "outlined"
32
+ if _condition_1 then
33
+ local _attributes_2 = table.clone(styles.stroke)
34
+ setmetatable(_attributes_2, nil)
35
+ _condition_1 = React.createElement("uistroke", _attributes_2)
36
+ end
37
+ return React.createElement("frame", _attributes, _exp, _condition, _condition_1, children)
32
38
  end
33
39
  local default = Paper
34
40
  return {
@@ -1,4 +1,4 @@
1
1
  declare const usePaperStyles: (props: {
2
- elevation?: "flat" | "raised";
2
+ elevation?: "flat" | "raised" | "outlined";
3
3
  }) => import("../../../../theme/index").ClassNameMap<string>;
4
4
  export default usePaperStyles;
@@ -15,6 +15,12 @@ local usePaperStyles = componentStyles("Paper", function(theme, _param)
15
15
  BackgroundColor3 = if elevation == "raised" then theme.palette.surface.elevated else theme.palette.surface.paper,
16
16
  BorderSizePixel = 0,
17
17
  },
18
+ stroke = {
19
+ Color = theme.palette.border,
20
+ ApplyStrokeMode = Enum.ApplyStrokeMode.Border,
21
+ Thickness = 1,
22
+ Transparency = 0,
23
+ },
18
24
  padding = {
19
25
  PaddingTop = UDim.new(0, theme.padding.calc(2)),
20
26
  PaddingBottom = UDim.new(0, theme.padding.calc(2)),
@@ -4,6 +4,7 @@ export interface RatingProps {
4
4
  max?: number;
5
5
  size?: ControlSize;
6
6
  disabled?: boolean;
7
+ readOnly?: boolean;
7
8
  onChange: (value: number) => void;
8
9
  }
9
10
  declare function Rating(props: CustomizedProps<Frame, RatingProps>): JSX.Element;
@@ -16,6 +16,7 @@ local function Rating(props)
16
16
  size = "medium"
17
17
  end
18
18
  local disabled = _binding.disabled
19
+ local readOnly = _binding.readOnly
19
20
  local onChange = _binding.onChange
20
21
  local className = _binding.className
21
22
  local sx = _binding.sx
@@ -25,7 +26,7 @@ local function Rating(props)
25
26
  disabled = disabled,
26
27
  size = size,
27
28
  })
28
- local active = canActivate(disabled)
29
+ local active = canActivate(disabled) and readOnly ~= true
29
30
  local stars = {}
30
31
  do
31
32
  local i = 1
@@ -1223,102 +1223,108 @@ local function surfacesRows()
1223
1223
  local _Length_24 = #_array_25
1224
1224
  table.move(_array_25, 1, _Length_24, _length + 1, _array)
1225
1225
  _length += _Length_24
1226
- local _array_26 = pair("ListItem", "default")
1226
+ local _array_26 = pair("Paper", "outlined", {
1227
+ variant = "outlined",
1228
+ })
1227
1229
  local _Length_25 = #_array_26
1228
1230
  table.move(_array_26, 1, _Length_25, _length + 1, _array)
1229
1231
  _length += _Length_25
1230
- local _array_27 = pair("ListItem", "selected", {
1231
- value = true,
1232
- })
1232
+ local _array_27 = pair("ListItem", "default")
1233
1233
  local _Length_26 = #_array_27
1234
1234
  table.move(_array_27, 1, _Length_26, _length + 1, _array)
1235
1235
  _length += _Length_26
1236
- local _array_28 = pair("ListItem", "disabled", {
1237
- disabled = true,
1236
+ local _array_28 = pair("ListItem", "selected", {
1237
+ value = true,
1238
1238
  })
1239
1239
  local _Length_27 = #_array_28
1240
1240
  table.move(_array_28, 1, _Length_27, _length + 1, _array)
1241
1241
  _length += _Length_27
1242
- local _array_29 = pair("ListItem", "secondary", {
1243
- variant = "secondary",
1242
+ local _array_29 = pair("ListItem", "disabled", {
1243
+ disabled = true,
1244
1244
  })
1245
1245
  local _Length_28 = #_array_29
1246
1246
  table.move(_array_29, 1, _Length_28, _length + 1, _array)
1247
1247
  _length += _Length_28
1248
- local _array_30 = pair("ListItem", "dense", {
1249
- variant = "dense",
1248
+ local _array_30 = pair("ListItem", "secondary", {
1249
+ variant = "secondary",
1250
1250
  })
1251
1251
  local _Length_29 = #_array_30
1252
1252
  table.move(_array_30, 1, _Length_29, _length + 1, _array)
1253
1253
  _length += _Length_29
1254
- local _array_31 = pair("Card", "flat", {
1255
- variant = "flat",
1254
+ local _array_31 = pair("ListItem", "dense", {
1255
+ variant = "dense",
1256
1256
  })
1257
1257
  local _Length_30 = #_array_31
1258
1258
  table.move(_array_31, 1, _Length_30, _length + 1, _array)
1259
1259
  _length += _Length_30
1260
- local _array_32 = pair("Card", "raised", {
1261
- variant = "raised",
1260
+ local _array_32 = pair("Card", "flat", {
1261
+ variant = "flat",
1262
1262
  })
1263
1263
  local _Length_31 = #_array_32
1264
1264
  table.move(_array_32, 1, _Length_31, _length + 1, _array)
1265
1265
  _length += _Length_31
1266
- local _array_33 = pair("Card", "square", {
1267
- variant = "square",
1266
+ local _array_33 = pair("Card", "raised", {
1267
+ variant = "raised",
1268
1268
  })
1269
1269
  local _Length_32 = #_array_33
1270
1270
  table.move(_array_33, 1, _Length_32, _length + 1, _array)
1271
1271
  _length += _Length_32
1272
- local _array_34 = pair("Chip", "default")
1272
+ local _array_34 = pair("Card", "square", {
1273
+ variant = "square",
1274
+ })
1273
1275
  local _Length_33 = #_array_34
1274
1276
  table.move(_array_34, 1, _Length_33, _length + 1, _array)
1275
1277
  _length += _Length_33
1276
- local _array_35 = pair("Chip", "size-small", {
1277
- size = "small",
1278
- })
1278
+ local _array_35 = pair("Chip", "default")
1279
1279
  local _Length_34 = #_array_35
1280
1280
  table.move(_array_35, 1, _Length_34, _length + 1, _array)
1281
1281
  _length += _Length_34
1282
- local _array_36 = pair("Chip", "size-large", {
1283
- size = "large",
1282
+ local _array_36 = pair("Chip", "size-small", {
1283
+ size = "small",
1284
1284
  })
1285
1285
  local _Length_35 = #_array_36
1286
1286
  table.move(_array_36, 1, _Length_35, _length + 1, _array)
1287
1287
  _length += _Length_35
1288
- local _array_37 = pair("Chip", "selected", {
1289
- value = true,
1288
+ local _array_37 = pair("Chip", "size-large", {
1289
+ size = "large",
1290
1290
  })
1291
1291
  local _Length_36 = #_array_37
1292
1292
  table.move(_array_37, 1, _Length_36, _length + 1, _array)
1293
1293
  _length += _Length_36
1294
- local _array_38 = pair("Chip", "disabled", {
1295
- disabled = true,
1294
+ local _array_38 = pair("Chip", "selected", {
1295
+ value = true,
1296
1296
  })
1297
1297
  local _Length_37 = #_array_38
1298
1298
  table.move(_array_38, 1, _Length_37, _length + 1, _array)
1299
1299
  _length += _Length_37
1300
- local _array_39 = pair("Chip", "deletable", {
1301
- text = "Tag",
1300
+ local _array_39 = pair("Chip", "disabled", {
1301
+ disabled = true,
1302
1302
  })
1303
1303
  local _Length_38 = #_array_39
1304
1304
  table.move(_array_39, 1, _Length_38, _length + 1, _array)
1305
1305
  _length += _Length_38
1306
- local _array_40 = pair("Chip", "outlined", {
1307
- variant = "outlined",
1306
+ local _array_40 = pair("Chip", "deletable", {
1307
+ text = "Tag",
1308
1308
  })
1309
1309
  local _Length_39 = #_array_40
1310
1310
  table.move(_array_40, 1, _Length_39, _length + 1, _array)
1311
1311
  _length += _Length_39
1312
- local _array_41 = pair("Badge", "count", {
1313
- value = 3,
1312
+ local _array_41 = pair("Chip", "outlined", {
1313
+ variant = "outlined",
1314
1314
  })
1315
1315
  local _Length_40 = #_array_41
1316
1316
  table.move(_array_41, 1, _Length_40, _length + 1, _array)
1317
1317
  _length += _Length_40
1318
- local _array_42 = pair("Badge", "max", {
1318
+ local _array_42 = pair("Badge", "count", {
1319
+ value = 3,
1320
+ })
1321
+ local _Length_41 = #_array_42
1322
+ table.move(_array_42, 1, _Length_41, _length + 1, _array)
1323
+ _length += _Length_41
1324
+ local _array_43 = pair("Badge", "max", {
1319
1325
  value = 100,
1320
1326
  })
1321
- table.move(_array_42, 1, #_array_42, _length + 1, _array)
1327
+ table.move(_array_43, 1, #_array_43, _length + 1, _array)
1322
1328
  return _array
1323
1329
  end
1324
1330
  local function chromeRows()
@@ -1354,281 +1360,299 @@ local function chromeRows()
1354
1360
  local _Length_4 = #_array_5
1355
1361
  table.move(_array_5, 1, _Length_4, _length + 1, _array)
1356
1362
  _length += _Length_4
1357
- local _array_6 = pair("Drawer", "closed", {
1358
- open = false,
1363
+ local _array_6 = pair("Avatar", "rounded", {
1364
+ variant = "rounded",
1359
1365
  })
1360
1366
  local _Length_5 = #_array_6
1361
1367
  table.move(_array_6, 1, _Length_5, _length + 1, _array)
1362
1368
  _length += _Length_5
1363
- local _array_7 = pair("Drawer", "left", {
1364
- open = true,
1365
- variant = "left",
1369
+ local _array_7 = pair("Drawer", "closed", {
1370
+ open = false,
1366
1371
  })
1367
1372
  local _Length_6 = #_array_7
1368
1373
  table.move(_array_7, 1, _Length_6, _length + 1, _array)
1369
1374
  _length += _Length_6
1370
- local _array_8 = pair("Drawer", "right", {
1375
+ local _array_8 = pair("Drawer", "left", {
1371
1376
  open = true,
1372
- variant = "right",
1377
+ variant = "left",
1373
1378
  })
1374
1379
  local _Length_7 = #_array_8
1375
1380
  table.move(_array_8, 1, _Length_7, _length + 1, _array)
1376
1381
  _length += _Length_7
1377
- local _array_9 = pair("Drawer", "wide", {
1382
+ local _array_9 = pair("Drawer", "right", {
1378
1383
  open = true,
1379
- variant = "wide",
1384
+ variant = "right",
1380
1385
  })
1381
1386
  local _Length_8 = #_array_9
1382
1387
  table.move(_array_9, 1, _Length_8, _length + 1, _array)
1383
1388
  _length += _Length_8
1384
- local _array_10 = pair("Breadcrumbs", "single", {
1385
- text = "Home",
1389
+ local _array_10 = pair("Drawer", "wide", {
1390
+ open = true,
1391
+ variant = "wide",
1386
1392
  })
1387
1393
  local _Length_9 = #_array_10
1388
1394
  table.move(_array_10, 1, _Length_9, _length + 1, _array)
1389
1395
  _length += _Length_9
1390
- local _array_11 = pair("Breadcrumbs", "trail", {
1391
- text = "Home / Library / Item",
1396
+ local _array_11 = pair("Breadcrumbs", "single", {
1397
+ text = "Home",
1392
1398
  })
1393
1399
  local _Length_10 = #_array_11
1394
1400
  table.move(_array_11, 1, _Length_10, _length + 1, _array)
1395
1401
  _length += _Length_10
1396
- local _array_12 = pair("Breadcrumbs", "collapsed", {
1397
- text = "Home / … / Item",
1398
- size = "small",
1402
+ local _array_12 = pair("Breadcrumbs", "trail", {
1403
+ text = "Home / Library / Item",
1399
1404
  })
1400
1405
  local _Length_11 = #_array_12
1401
1406
  table.move(_array_12, 1, _Length_11, _length + 1, _array)
1402
1407
  _length += _Length_11
1403
- local _array_13 = pair("Breadcrumbs", "custom-separator", {
1404
- text = "Home > Item",
1408
+ local _array_13 = pair("Breadcrumbs", "collapsed", {
1409
+ text = "Home / … / Item",
1410
+ size = "small",
1405
1411
  })
1406
1412
  local _Length_12 = #_array_13
1407
1413
  table.move(_array_13, 1, _Length_12, _length + 1, _array)
1408
1414
  _length += _Length_12
1409
- local _array_14 = pair("Pagination", "first", {
1410
- value = 1,
1415
+ local _array_14 = pair("Breadcrumbs", "custom-separator", {
1416
+ text = "Home > Item",
1411
1417
  })
1412
1418
  local _Length_13 = #_array_14
1413
1419
  table.move(_array_14, 1, _Length_13, _length + 1, _array)
1414
1420
  _length += _Length_13
1415
- local _array_15 = pair("Pagination", "middle", {
1416
- value = 3,
1421
+ local _array_15 = pair("Pagination", "first", {
1422
+ value = 1,
1417
1423
  })
1418
1424
  local _Length_14 = #_array_15
1419
1425
  table.move(_array_15, 1, _Length_14, _length + 1, _array)
1420
1426
  _length += _Length_14
1421
- local _array_16 = pair("Pagination", "collapsed", {
1422
- value = 10,
1423
- size = "large",
1427
+ local _array_16 = pair("Pagination", "middle", {
1428
+ value = 3,
1424
1429
  })
1425
1430
  local _Length_15 = #_array_16
1426
1431
  table.move(_array_16, 1, _Length_15, _length + 1, _array)
1427
1432
  _length += _Length_15
1428
- local _array_17 = pair("Pagination", "disabled", {
1429
- value = 2,
1430
- disabled = true,
1433
+ local _array_17 = pair("Pagination", "collapsed", {
1434
+ value = 10,
1435
+ size = "large",
1431
1436
  })
1432
1437
  local _Length_16 = #_array_17
1433
1438
  table.move(_array_17, 1, _Length_16, _length + 1, _array)
1434
1439
  _length += _Length_16
1435
- local _array_18 = pair("Pagination", "size-small", {
1440
+ local _array_18 = pair("Pagination", "disabled", {
1436
1441
  value = 2,
1437
- size = "small",
1442
+ disabled = true,
1438
1443
  })
1439
1444
  local _Length_17 = #_array_18
1440
1445
  table.move(_array_18, 1, _Length_17, _length + 1, _array)
1441
1446
  _length += _Length_17
1442
- local _array_19 = pair("Stepper", "first", {
1443
- value = 0,
1447
+ local _array_19 = pair("Pagination", "size-small", {
1448
+ value = 2,
1449
+ size = "small",
1444
1450
  })
1445
1451
  local _Length_18 = #_array_19
1446
1452
  table.move(_array_19, 1, _Length_18, _length + 1, _array)
1447
1453
  _length += _Length_18
1448
- local _array_20 = pair("Stepper", "middle", {
1449
- value = 1,
1454
+ local _array_20 = pair("Stepper", "first", {
1455
+ value = 0,
1450
1456
  })
1451
1457
  local _Length_19 = #_array_20
1452
1458
  table.move(_array_20, 1, _Length_19, _length + 1, _array)
1453
1459
  _length += _Length_19
1454
- local _array_21 = pair("Stepper", "last", {
1455
- value = 2,
1460
+ local _array_21 = pair("Stepper", "middle", {
1461
+ value = 1,
1456
1462
  })
1457
1463
  local _Length_20 = #_array_21
1458
1464
  table.move(_array_21, 1, _Length_20, _length + 1, _array)
1459
1465
  _length += _Length_20
1460
- local _array_22 = pair("Stepper", "vertical", {
1461
- value = 1,
1462
- variant = "vertical",
1466
+ local _array_22 = pair("Stepper", "last", {
1467
+ value = 2,
1463
1468
  })
1464
1469
  local _Length_21 = #_array_22
1465
1470
  table.move(_array_22, 1, _Length_21, _length + 1, _array)
1466
1471
  _length += _Length_21
1467
- local _array_23 = pair("Accordion", "closed", {
1468
- open = false,
1472
+ local _array_23 = pair("Stepper", "vertical", {
1473
+ value = 1,
1474
+ variant = "vertical",
1469
1475
  })
1470
1476
  local _Length_22 = #_array_23
1471
1477
  table.move(_array_23, 1, _Length_22, _length + 1, _array)
1472
1478
  _length += _Length_22
1473
- local _array_24 = pair("Accordion", "open", {
1474
- open = true,
1479
+ local _array_24 = pair("Accordion", "closed", {
1480
+ open = false,
1475
1481
  })
1476
1482
  local _Length_23 = #_array_24
1477
1483
  table.move(_array_24, 1, _Length_23, _length + 1, _array)
1478
1484
  _length += _Length_23
1479
- local _array_25 = pair("Accordion", "disabled", {
1480
- open = false,
1481
- disabled = true,
1485
+ local _array_25 = pair("Accordion", "open", {
1486
+ open = true,
1482
1487
  })
1483
1488
  local _Length_24 = #_array_25
1484
1489
  table.move(_array_25, 1, _Length_24, _length + 1, _array)
1485
1490
  _length += _Length_24
1486
- local _array_26 = pair("Snackbar", "open", {
1487
- open = true,
1488
- text = "Saved",
1491
+ local _array_26 = pair("Accordion", "disabled", {
1492
+ open = false,
1493
+ disabled = true,
1489
1494
  })
1490
1495
  local _Length_25 = #_array_26
1491
1496
  table.move(_array_26, 1, _Length_25, _length + 1, _array)
1492
1497
  _length += _Length_25
1493
- local _array_27 = pair("Snackbar", "closed", {
1494
- open = false,
1495
- text = "Saved",
1498
+ local _array_27 = pair("Accordion", "indicator", {
1499
+ open = true,
1496
1500
  })
1497
1501
  local _Length_26 = #_array_27
1498
1502
  table.move(_array_27, 1, _Length_26, _length + 1, _array)
1499
1503
  _length += _Length_26
1500
- local _array_28 = pair("Table", "empty", {
1501
- text = "",
1504
+ local _array_28 = pair("Snackbar", "open", {
1505
+ open = true,
1506
+ text = "Saved",
1502
1507
  })
1503
1508
  local _Length_27 = #_array_28
1504
1509
  table.move(_array_28, 1, _Length_27, _length + 1, _array)
1505
1510
  _length += _Length_27
1506
- local _array_29 = pair("Table", "default", {
1507
- text = "Name / Role",
1511
+ local _array_29 = pair("Snackbar", "closed", {
1512
+ open = false,
1513
+ text = "Saved",
1508
1514
  })
1509
1515
  local _Length_28 = #_array_29
1510
1516
  table.move(_array_29, 1, _Length_28, _length + 1, _array)
1511
1517
  _length += _Length_28
1512
- local _array_30 = pair("Table", "selected", {
1513
- text = "Name / Role",
1514
- value = 0,
1518
+ local _array_30 = pair("Table", "empty", {
1519
+ text = "",
1515
1520
  })
1516
1521
  local _Length_29 = #_array_30
1517
1522
  table.move(_array_30, 1, _Length_29, _length + 1, _array)
1518
1523
  _length += _Length_29
1519
- local _array_31 = pair("Table", "dense", {
1524
+ local _array_31 = pair("Table", "default", {
1520
1525
  text = "Name / Role",
1521
- variant = "dense",
1522
1526
  })
1523
1527
  local _Length_30 = #_array_31
1524
1528
  table.move(_array_31, 1, _Length_30, _length + 1, _array)
1525
1529
  _length += _Length_30
1526
- local _array_32 = pair("Autocomplete", "default", {
1527
- value = "Continue",
1528
- options = { "Continue", "Other" },
1530
+ local _array_32 = pair("Table", "selected", {
1531
+ text = "Name / Role",
1532
+ value = 0,
1529
1533
  })
1530
1534
  local _Length_31 = #_array_32
1531
1535
  table.move(_array_32, 1, _Length_31, _length + 1, _array)
1532
1536
  _length += _Length_31
1533
- local _array_33 = pair("Autocomplete", "open", {
1534
- value = "Continue",
1535
- options = { "Continue", "Other" },
1536
- open = true,
1537
+ local _array_33 = pair("Table", "dense", {
1538
+ text = "Name / Role",
1539
+ variant = "dense",
1537
1540
  })
1538
1541
  local _Length_32 = #_array_33
1539
1542
  table.move(_array_33, 1, _Length_32, _length + 1, _array)
1540
1543
  _length += _Length_32
1541
- local _array_34 = pair("Autocomplete", "disabled", {
1544
+ local _array_34 = pair("Autocomplete", "default", {
1542
1545
  value = "Continue",
1543
1546
  options = { "Continue", "Other" },
1544
- disabled = true,
1545
1547
  })
1546
1548
  local _Length_33 = #_array_34
1547
1549
  table.move(_array_34, 1, _Length_33, _length + 1, _array)
1548
1550
  _length += _Length_33
1549
- local _array_35 = pair("Autocomplete", "empty", {
1550
- value = "",
1551
- options = {},
1551
+ local _array_35 = pair("Autocomplete", "open", {
1552
+ value = "Continue",
1553
+ options = { "Continue", "Other" },
1552
1554
  open = true,
1553
1555
  })
1554
1556
  local _Length_34 = #_array_35
1555
1557
  table.move(_array_35, 1, _Length_34, _length + 1, _array)
1556
1558
  _length += _Length_34
1557
- local _array_36 = pair("Autocomplete", "no-results", {
1559
+ local _array_36 = pair("Autocomplete", "disabled", {
1558
1560
  value = "Continue",
1559
1561
  options = { "Continue", "Other" },
1560
- open = true,
1561
- filter = "zzz",
1562
+ disabled = true,
1562
1563
  })
1563
1564
  local _Length_35 = #_array_36
1564
1565
  table.move(_array_36, 1, _Length_35, _length + 1, _array)
1565
1566
  _length += _Length_35
1566
- local _array_37 = pair("Fab", "default")
1567
+ local _array_37 = pair("Autocomplete", "empty", {
1568
+ value = "",
1569
+ options = {},
1570
+ open = true,
1571
+ })
1567
1572
  local _Length_36 = #_array_37
1568
1573
  table.move(_array_37, 1, _Length_36, _length + 1, _array)
1569
1574
  _length += _Length_36
1570
- local _array_38 = pair("Fab", "extended", {
1571
- text = "Compose",
1575
+ local _array_38 = pair("Autocomplete", "no-results", {
1576
+ value = "Continue",
1577
+ options = { "Continue", "Other" },
1578
+ open = true,
1579
+ filter = "zzz",
1572
1580
  })
1573
1581
  local _Length_37 = #_array_38
1574
1582
  table.move(_array_38, 1, _Length_37, _length + 1, _array)
1575
1583
  _length += _Length_37
1576
- local _array_39 = pair("Fab", "small", {
1577
- size = "small",
1578
- })
1584
+ local _array_39 = pair("Fab", "default")
1579
1585
  local _Length_38 = #_array_39
1580
1586
  table.move(_array_39, 1, _Length_38, _length + 1, _array)
1581
1587
  _length += _Length_38
1582
- local _array_40 = pair("Fab", "large", {
1583
- size = "large",
1588
+ local _array_40 = pair("Fab", "extended", {
1589
+ text = "Compose",
1584
1590
  })
1585
1591
  local _Length_39 = #_array_40
1586
1592
  table.move(_array_40, 1, _Length_39, _length + 1, _array)
1587
1593
  _length += _Length_39
1588
- local _array_41 = pair("Fab", "disabled", {
1589
- disabled = true,
1594
+ local _array_41 = pair("Fab", "small", {
1595
+ size = "small",
1590
1596
  })
1591
1597
  local _Length_40 = #_array_41
1592
1598
  table.move(_array_41, 1, _Length_40, _length + 1, _array)
1593
1599
  _length += _Length_40
1594
- local _array_42 = pair("Fab", "loading", {
1595
- loading = true,
1600
+ local _array_42 = pair("Fab", "large", {
1601
+ size = "large",
1596
1602
  })
1597
1603
  local _Length_41 = #_array_42
1598
1604
  table.move(_array_42, 1, _Length_41, _length + 1, _array)
1599
1605
  _length += _Length_41
1600
- local _array_43 = pair("AppBar", "default", {
1601
- text = "Storyblox",
1606
+ local _array_43 = pair("Fab", "disabled", {
1607
+ disabled = true,
1602
1608
  })
1603
1609
  local _Length_42 = #_array_43
1604
1610
  table.move(_array_43, 1, _Length_42, _length + 1, _array)
1605
1611
  _length += _Length_42
1606
- local _array_44 = pair("AppBar", "flat", {
1607
- text = "Storyblox",
1608
- variant = "flat",
1612
+ local _array_44 = pair("Fab", "loading", {
1613
+ loading = true,
1609
1614
  })
1610
1615
  local _Length_43 = #_array_44
1611
1616
  table.move(_array_44, 1, _Length_43, _length + 1, _array)
1612
1617
  _length += _Length_43
1613
- local _array_45 = pair("AppBar", "raised", {
1614
- text = "Storyblox",
1615
- variant = "raised",
1618
+ local _array_45 = pair("Fab", "accent", {
1619
+ variant = "accent",
1616
1620
  })
1617
1621
  local _Length_44 = #_array_45
1618
1622
  table.move(_array_45, 1, _Length_44, _length + 1, _array)
1619
1623
  _length += _Length_44
1620
- local _array_46 = pair("AppBar", "primary", {
1624
+ local _array_46 = pair("AppBar", "default", {
1621
1625
  text = "Storyblox",
1622
- variant = "primary",
1623
1626
  })
1624
1627
  local _Length_45 = #_array_46
1625
1628
  table.move(_array_46, 1, _Length_45, _length + 1, _array)
1626
1629
  _length += _Length_45
1627
- local _array_47 = pair("BottomNavigation", "default", {
1630
+ local _array_47 = pair("AppBar", "flat", {
1631
+ text = "Storyblox",
1632
+ variant = "flat",
1633
+ })
1634
+ local _Length_46 = #_array_47
1635
+ table.move(_array_47, 1, _Length_46, _length + 1, _array)
1636
+ _length += _Length_46
1637
+ local _array_48 = pair("AppBar", "raised", {
1638
+ text = "Storyblox",
1639
+ variant = "raised",
1640
+ })
1641
+ local _Length_47 = #_array_48
1642
+ table.move(_array_48, 1, _Length_47, _length + 1, _array)
1643
+ _length += _Length_47
1644
+ local _array_49 = pair("AppBar", "primary", {
1645
+ text = "Storyblox",
1646
+ variant = "primary",
1647
+ })
1648
+ local _Length_48 = #_array_49
1649
+ table.move(_array_49, 1, _Length_48, _length + 1, _array)
1650
+ _length += _Length_48
1651
+ local _array_50 = pair("BottomNavigation", "default", {
1628
1652
  value = "Home",
1629
1653
  options = { "Home", "Search", "Profile" },
1630
1654
  })
1631
- table.move(_array_47, 1, #_array_47, _length + 1, _array)
1655
+ table.move(_array_50, 1, #_array_50, _length + 1, _array)
1632
1656
  return _array
1633
1657
  end
1634
1658
  local function miscRows()
@@ -1782,186 +1806,198 @@ local function miscRows()
1782
1806
  local _Length_21 = #_array_22
1783
1807
  table.move(_array_22, 1, _Length_21, _length + 1, _array)
1784
1808
  _length += _Length_21
1785
- local _array_23 = pair("Stack", "column", {
1786
- variant = "column",
1809
+ local _array_23 = pair("Rating", "readonly", {
1810
+ value = 3,
1787
1811
  })
1788
1812
  local _Length_22 = #_array_23
1789
1813
  table.move(_array_23, 1, _Length_22, _length + 1, _array)
1790
1814
  _length += _Length_22
1791
- local _array_24 = pair("Stack", "row", {
1792
- variant = "row",
1815
+ local _array_24 = pair("Stack", "column", {
1816
+ variant = "column",
1793
1817
  })
1794
1818
  local _Length_23 = #_array_24
1795
1819
  table.move(_array_24, 1, _Length_23, _length + 1, _array)
1796
1820
  _length += _Length_23
1797
- local _array_25 = pair("Stack", "spaced", {
1798
- variant = "column",
1799
- size = "large",
1821
+ local _array_25 = pair("Stack", "row", {
1822
+ variant = "row",
1800
1823
  })
1801
1824
  local _Length_24 = #_array_25
1802
1825
  table.move(_array_25, 1, _Length_24, _length + 1, _array)
1803
1826
  _length += _Length_24
1804
- local _array_26 = pair("Box", "plain")
1827
+ local _array_26 = pair("Stack", "spaced", {
1828
+ variant = "column",
1829
+ size = "large",
1830
+ })
1805
1831
  local _Length_25 = #_array_26
1806
1832
  table.move(_array_26, 1, _Length_25, _length + 1, _array)
1807
1833
  _length += _Length_25
1808
- local _array_27 = pair("Box", "padded", {
1809
- size = "medium",
1810
- })
1834
+ local _array_27 = pair("Box", "plain")
1811
1835
  local _Length_26 = #_array_27
1812
1836
  table.move(_array_27, 1, _Length_26, _length + 1, _array)
1813
1837
  _length += _Length_26
1814
- local _array_28 = pair("Box", "paper", {
1815
- variant = "paper",
1838
+ local _array_28 = pair("Box", "padded", {
1839
+ size = "medium",
1816
1840
  })
1817
1841
  local _Length_27 = #_array_28
1818
1842
  table.move(_array_28, 1, _Length_27, _length + 1, _array)
1819
1843
  _length += _Length_27
1820
- local _array_29 = pair("Container", "default", {
1821
- variant = "lg",
1844
+ local _array_29 = pair("Box", "paper", {
1845
+ variant = "paper",
1822
1846
  })
1823
1847
  local _Length_28 = #_array_29
1824
1848
  table.move(_array_29, 1, _Length_28, _length + 1, _array)
1825
1849
  _length += _Length_28
1826
- local _array_30 = pair("Container", "sm", {
1827
- variant = "sm",
1850
+ local _array_30 = pair("Container", "default", {
1851
+ variant = "lg",
1828
1852
  })
1829
1853
  local _Length_29 = #_array_30
1830
1854
  table.move(_array_30, 1, _Length_29, _length + 1, _array)
1831
1855
  _length += _Length_29
1832
- local _array_31 = pair("Container", "fluid", {
1833
- variant = "false",
1856
+ local _array_31 = pair("Container", "sm", {
1857
+ variant = "sm",
1834
1858
  })
1835
1859
  local _Length_30 = #_array_31
1836
1860
  table.move(_array_31, 1, _Length_30, _length + 1, _array)
1837
1861
  _length += _Length_30
1838
- local _array_32 = pair("Backdrop", "default")
1862
+ local _array_32 = pair("Container", "fluid", {
1863
+ variant = "false",
1864
+ })
1839
1865
  local _Length_31 = #_array_32
1840
1866
  table.move(_array_32, 1, _Length_31, _length + 1, _array)
1841
1867
  _length += _Length_31
1842
- local _array_33 = pair("Backdrop", "invisible", {
1843
- variant = "invisible",
1844
- })
1868
+ local _array_33 = pair("Backdrop", "default")
1845
1869
  local _Length_32 = #_array_33
1846
1870
  table.move(_array_33, 1, _Length_32, _length + 1, _array)
1847
1871
  _length += _Length_32
1848
- local _array_34 = pair("Backdrop", "closed", {
1849
- open = false,
1872
+ local _array_34 = pair("Backdrop", "invisible", {
1873
+ variant = "invisible",
1850
1874
  })
1851
1875
  local _Length_33 = #_array_34
1852
1876
  table.move(_array_34, 1, _Length_33, _length + 1, _array)
1853
1877
  _length += _Length_33
1854
- local _array_35 = pair("Divider", "horizontal", {
1855
- variant = "horizontal",
1878
+ local _array_35 = pair("Backdrop", "closed", {
1879
+ open = false,
1856
1880
  })
1857
1881
  local _Length_34 = #_array_35
1858
1882
  table.move(_array_35, 1, _Length_34, _length + 1, _array)
1859
1883
  _length += _Length_34
1860
- local _array_36 = pair("Divider", "vertical", {
1861
- variant = "vertical",
1884
+ local _array_36 = pair("Divider", "horizontal", {
1885
+ variant = "horizontal",
1862
1886
  })
1863
1887
  local _Length_35 = #_array_36
1864
1888
  table.move(_array_36, 1, _Length_35, _length + 1, _array)
1865
1889
  _length += _Length_35
1866
- local _array_37 = pair("ImageList", "default")
1890
+ local _array_37 = pair("Divider", "vertical", {
1891
+ variant = "vertical",
1892
+ })
1867
1893
  local _Length_36 = #_array_37
1868
1894
  table.move(_array_37, 1, _Length_36, _length + 1, _array)
1869
1895
  _length += _Length_36
1870
- local _array_38 = pair("ImageList", "dense", {
1871
- size = "small",
1872
- })
1896
+ local _array_38 = pair("ImageList", "default")
1873
1897
  local _Length_37 = #_array_38
1874
1898
  table.move(_array_38, 1, _Length_37, _length + 1, _array)
1875
1899
  _length += _Length_37
1876
- local _array_39 = pair("ImageList", "wide", {
1877
- size = "large",
1900
+ local _array_39 = pair("ImageList", "dense", {
1901
+ size = "small",
1878
1902
  })
1879
1903
  local _Length_38 = #_array_39
1880
1904
  table.move(_array_39, 1, _Length_38, _length + 1, _array)
1881
1905
  _length += _Length_38
1882
- local _array_40 = pair("SpeedDial", "closed", {
1883
- open = false,
1906
+ local _array_40 = pair("ImageList", "wide", {
1907
+ size = "large",
1884
1908
  })
1885
1909
  local _Length_39 = #_array_40
1886
1910
  table.move(_array_40, 1, _Length_39, _length + 1, _array)
1887
1911
  _length += _Length_39
1888
- local _array_41 = pair("SpeedDial", "open", {
1889
- open = true,
1912
+ local _array_41 = pair("ImageList", "titled", {
1913
+ text = "Cove",
1890
1914
  })
1891
1915
  local _Length_40 = #_array_41
1892
1916
  table.move(_array_41, 1, _Length_40, _length + 1, _array)
1893
1917
  _length += _Length_40
1894
- local _array_42 = pair("SpeedDial", "disabled", {
1918
+ local _array_42 = pair("SpeedDial", "closed", {
1895
1919
  open = false,
1896
- disabled = true,
1897
1920
  })
1898
1921
  local _Length_41 = #_array_42
1899
1922
  table.move(_array_42, 1, _Length_41, _length + 1, _array)
1900
1923
  _length += _Length_41
1901
- local _array_43 = pair("SpeedDial", "down", {
1924
+ local _array_43 = pair("SpeedDial", "open", {
1902
1925
  open = true,
1903
- variant = "down",
1904
1926
  })
1905
1927
  local _Length_42 = #_array_43
1906
1928
  table.move(_array_43, 1, _Length_42, _length + 1, _array)
1907
1929
  _length += _Length_42
1908
- local _array_44 = pair("FormLabel", "default", {
1909
- text = "Email",
1930
+ local _array_44 = pair("SpeedDial", "disabled", {
1931
+ open = false,
1932
+ disabled = true,
1910
1933
  })
1911
1934
  local _Length_43 = #_array_44
1912
1935
  table.move(_array_44, 1, _Length_43, _length + 1, _array)
1913
1936
  _length += _Length_43
1914
- local _array_45 = pair("FormLabel", "required", {
1915
- text = "Email",
1916
- value = true,
1937
+ local _array_45 = pair("SpeedDial", "down", {
1938
+ open = true,
1939
+ variant = "down",
1917
1940
  })
1918
1941
  local _Length_44 = #_array_45
1919
1942
  table.move(_array_45, 1, _Length_44, _length + 1, _array)
1920
1943
  _length += _Length_44
1921
- local _array_46 = pair("FormLabel", "error", {
1944
+ local _array_46 = pair("FormLabel", "default", {
1922
1945
  text = "Email",
1923
- hasError = true,
1924
1946
  })
1925
1947
  local _Length_45 = #_array_46
1926
1948
  table.move(_array_46, 1, _Length_45, _length + 1, _array)
1927
1949
  _length += _Length_45
1928
- local _array_47 = pair("FormHelperText", "default", {
1929
- text = "We never share this",
1950
+ local _array_47 = pair("FormLabel", "required", {
1951
+ text = "Email",
1952
+ value = true,
1930
1953
  })
1931
1954
  local _Length_46 = #_array_47
1932
1955
  table.move(_array_47, 1, _Length_46, _length + 1, _array)
1933
1956
  _length += _Length_46
1934
- local _array_48 = pair("FormHelperText", "error", {
1935
- text = "Required",
1957
+ local _array_48 = pair("FormLabel", "error", {
1958
+ text = "Email",
1936
1959
  hasError = true,
1937
1960
  })
1938
1961
  local _Length_47 = #_array_48
1939
1962
  table.move(_array_48, 1, _Length_47, _length + 1, _array)
1940
1963
  _length += _Length_47
1941
- local _array_49 = pair("Menu", "closed", {
1942
- open = false,
1964
+ local _array_49 = pair("FormHelperText", "default", {
1965
+ text = "We never share this",
1943
1966
  })
1944
1967
  local _Length_48 = #_array_49
1945
1968
  table.move(_array_49, 1, _Length_48, _length + 1, _array)
1946
1969
  _length += _Length_48
1947
- local _array_50 = pair("Menu", "open", {
1948
- open = true,
1970
+ local _array_50 = pair("FormHelperText", "error", {
1971
+ text = "Required",
1972
+ hasError = true,
1949
1973
  })
1950
1974
  local _Length_49 = #_array_50
1951
1975
  table.move(_array_50, 1, _Length_49, _length + 1, _array)
1952
1976
  _length += _Length_49
1953
- local _array_51 = pair("Menu", "empty", {
1954
- open = true,
1955
- options = {},
1977
+ local _array_51 = pair("Menu", "closed", {
1978
+ open = false,
1956
1979
  })
1957
1980
  local _Length_50 = #_array_51
1958
1981
  table.move(_array_51, 1, _Length_50, _length + 1, _array)
1959
1982
  _length += _Length_50
1960
- local _array_52 = pair("Menu", "dense", {
1983
+ local _array_52 = pair("Menu", "open", {
1984
+ open = true,
1985
+ })
1986
+ local _Length_51 = #_array_52
1987
+ table.move(_array_52, 1, _Length_51, _length + 1, _array)
1988
+ _length += _Length_51
1989
+ local _array_53 = pair("Menu", "empty", {
1990
+ open = true,
1991
+ options = {},
1992
+ })
1993
+ local _Length_52 = #_array_53
1994
+ table.move(_array_53, 1, _Length_52, _length + 1, _array)
1995
+ _length += _Length_52
1996
+ local _array_54 = pair("Menu", "dense", {
1961
1997
  open = true,
1962
1998
  variant = "dense",
1963
1999
  })
1964
- table.move(_array_52, 1, #_array_52, _length + 1, _array)
2000
+ table.move(_array_54, 1, #_array_54, _length + 1, _array)
1965
2001
  return _array
1966
2002
  end
1967
2003
  local function concatRows(...)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/uiblox",
3
- "version": "0.2.0-alpha.14",
3
+ "version": "0.2.0-alpha.16",
4
4
  "description": "UI Library and theming for roblox-ts projects",
5
5
  "main": "out/init.luau",
6
6
  "packageManager": "pnpm@11.3.0",
@@ -8,7 +8,7 @@
8
8
  "build": "rbxtsc",
9
9
  "watch": "rbxtsc -w",
10
10
  "pack:check": "node scripts/pack-check.mjs",
11
- "test": "node scripts/no-internal-refs.check.mjs && node scripts/import-case.check.mjs && node --experimental-strip-types scripts/theme-scope.check.mjs && node --experimental-strip-types scripts/style-types.check.mjs && node --experimental-strip-types scripts/style-cache.check.mjs && node --experimental-strip-types scripts/style-variants.check.mjs && node --experimental-strip-types scripts/component-styles.check.mjs && node --experimental-strip-types scripts/interaction-styles.check.mjs && node --experimental-strip-types scripts/resolve-style.check.mjs && node --experimental-strip-types scripts/density.check.mjs && node --experimental-strip-types scripts/styles.check.mjs && node --experimental-strip-types scripts/contrast.check.mjs && node --experimental-strip-types scripts/primitives.check.mjs && node --experimental-strip-types scripts/paper.check.mjs && node --experimental-strip-types scripts/list-item.check.mjs && node --experimental-strip-types scripts/slider.check.mjs && node --experimental-strip-types scripts/menu.check.mjs && node --experimental-strip-types scripts/guard.check.mjs && node --experimental-strip-types scripts/breakpoints.check.mjs && node --experimental-strip-types scripts/focus-trap.check.mjs && node --experimental-strip-types scripts/select-typeahead.check.mjs && node --experimental-strip-types scripts/select-groups.check.mjs && node --experimental-strip-types scripts/select-multi.check.mjs && node --experimental-strip-types scripts/select-motion.check.mjs && node --experimental-strip-types scripts/select-polish.check.mjs && node --experimental-strip-types scripts/reduced-motion.check.mjs && node --experimental-strip-types scripts/card.check.mjs && node --experimental-strip-types scripts/chip.check.mjs && node --experimental-strip-types scripts/badge.check.mjs && node --experimental-strip-types scripts/avatar.check.mjs && node --experimental-strip-types scripts/drawer.check.mjs && node --experimental-strip-types scripts/breadcrumbs.check.mjs && node --experimental-strip-types scripts/pagination.check.mjs && node --experimental-strip-types scripts/stepper.check.mjs && node --experimental-strip-types scripts/accordion.check.mjs && node --experimental-strip-types scripts/snackbar.check.mjs && node --experimental-strip-types scripts/table.check.mjs && node --experimental-strip-types scripts/autocomplete.check.mjs && node --experimental-strip-types scripts/field-loading.check.mjs && node --experimental-strip-types scripts/fab.check.mjs && node --experimental-strip-types scripts/appbar.check.mjs && node --experimental-strip-types scripts/bottom-navigation.check.mjs && node --experimental-strip-types scripts/alert.check.mjs && node --experimental-strip-types scripts/toggle-button.check.mjs && node --experimental-strip-types scripts/link.check.mjs && node --experimental-strip-types scripts/rating.check.mjs && node --experimental-strip-types scripts/stack.check.mjs && node --experimental-strip-types scripts/speed-dial.check.mjs && node --experimental-strip-types scripts/form-text.check.mjs && node --experimental-strip-types scripts/box.check.mjs && node --experimental-strip-types scripts/image-list.check.mjs && node --experimental-strip-types scripts/radio-group.check.mjs && node --experimental-strip-types scripts/container.check.mjs && node --experimental-strip-types scripts/divider.check.mjs && node --experimental-strip-types scripts/tabs.check.mjs && node --experimental-strip-types scripts/dialog.check.mjs && node --experimental-strip-types scripts/backdrop.check.mjs && node --experimental-strip-types scripts/cframe-editor.check.mjs && node --experimental-strip-types scripts/enum-picker.check.mjs && node --experimental-strip-types scripts/number-range.check.mjs && node --experimental-strip-types scripts/rect-editor.check.mjs && node --experimental-strip-types scripts/asset-field.check.mjs && node --experimental-strip-types scripts/gradient-editor.check.mjs && node --experimental-strip-types scripts/ray-editor.check.mjs && node --experimental-strip-types scripts/physical-properties.check.mjs && node --experimental-strip-types scripts/brickcolor-picker.check.mjs",
11
+ "test": "node scripts/no-internal-refs.check.mjs && node scripts/import-case.check.mjs && node --experimental-strip-types scripts/theme-scope.check.mjs && node --experimental-strip-types scripts/style-types.check.mjs && node --experimental-strip-types scripts/style-cache.check.mjs && node --experimental-strip-types scripts/style-variants.check.mjs && node --experimental-strip-types scripts/component-styles.check.mjs && node --experimental-strip-types scripts/interaction-styles.check.mjs && node --experimental-strip-types scripts/resolve-style.check.mjs && node --experimental-strip-types scripts/density.check.mjs && node --experimental-strip-types scripts/styles.check.mjs && node --experimental-strip-types scripts/contrast.check.mjs && node --experimental-strip-types scripts/primitives.check.mjs && node --experimental-strip-types scripts/paper.check.mjs && node --experimental-strip-types scripts/list-item.check.mjs && node --experimental-strip-types scripts/slider.check.mjs && node --experimental-strip-types scripts/menu.check.mjs && node --experimental-strip-types scripts/guard.check.mjs && node --experimental-strip-types scripts/breakpoints.check.mjs && node --experimental-strip-types scripts/focus-trap.check.mjs && node --experimental-strip-types scripts/select-typeahead.check.mjs && node --experimental-strip-types scripts/select-groups.check.mjs && node --experimental-strip-types scripts/select-multi.check.mjs && node --experimental-strip-types scripts/select-motion.check.mjs && node --experimental-strip-types scripts/select-polish.check.mjs && node --experimental-strip-types scripts/reduced-motion.check.mjs && node --experimental-strip-types scripts/card.check.mjs && node --experimental-strip-types scripts/chip.check.mjs && node --experimental-strip-types scripts/badge.check.mjs && node --experimental-strip-types scripts/avatar.check.mjs && node --experimental-strip-types scripts/imageList.check.mjs && node --experimental-strip-types scripts/drawer.check.mjs && node --experimental-strip-types scripts/breadcrumbs.check.mjs && node --experimental-strip-types scripts/pagination.check.mjs && node --experimental-strip-types scripts/stepper.check.mjs && node --experimental-strip-types scripts/accordion.check.mjs && node --experimental-strip-types scripts/snackbar.check.mjs && node --experimental-strip-types scripts/table.check.mjs && node --experimental-strip-types scripts/autocomplete.check.mjs && node --experimental-strip-types scripts/field-loading.check.mjs && node --experimental-strip-types scripts/fab.check.mjs && node --experimental-strip-types scripts/appbar.check.mjs && node --experimental-strip-types scripts/bottom-navigation.check.mjs && node --experimental-strip-types scripts/alert.check.mjs && node --experimental-strip-types scripts/toggle-button.check.mjs && node --experimental-strip-types scripts/link.check.mjs && node --experimental-strip-types scripts/rating.check.mjs && node --experimental-strip-types scripts/stack.check.mjs && node --experimental-strip-types scripts/speed-dial.check.mjs && node --experimental-strip-types scripts/form-text.check.mjs && node --experimental-strip-types scripts/box.check.mjs && node --experimental-strip-types scripts/image-list.check.mjs && node --experimental-strip-types scripts/radio-group.check.mjs && node --experimental-strip-types scripts/container.check.mjs && node --experimental-strip-types scripts/divider.check.mjs && node --experimental-strip-types scripts/tabs.check.mjs && node --experimental-strip-types scripts/dialog.check.mjs && node --experimental-strip-types scripts/backdrop.check.mjs && node --experimental-strip-types scripts/cframe-editor.check.mjs && node --experimental-strip-types scripts/enum-picker.check.mjs && node --experimental-strip-types scripts/number-range.check.mjs && node --experimental-strip-types scripts/rect-editor.check.mjs && node --experimental-strip-types scripts/asset-field.check.mjs && node --experimental-strip-types scripts/gradient-editor.check.mjs && node --experimental-strip-types scripts/ray-editor.check.mjs && node --experimental-strip-types scripts/physical-properties.check.mjs && node --experimental-strip-types scripts/brickcolor-picker.check.mjs",
12
12
  "prepublishOnly": "pnpm build"
13
13
  },
14
14
  "keywords": [