@youversion/design-system-components 1.3.5 → 1.4.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.
@@ -36,5 +36,5 @@ export interface OptionProps extends OptionHTMLAttributes<HTMLOptionElement> {
36
36
  * }
37
37
  * ```
38
38
  */
39
- export declare const Option: ({ ...rest }: OptionProps) => JSX.Element;
39
+ export declare const Option: ({ className, ...rest }: OptionProps) => JSX.Element;
40
40
  //# sourceMappingURL=Option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/Select/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAE7C,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,MAAM,gBAAiB,WAAW,gBAE9C,CAAC"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/Select/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAI7C,MAAM,WAAW,WAAY,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;CAAG;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,MAAM,2BAA4B,WAAW,gBAOzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAIL,oBAAoB,EAKrB,MAAM,OAAO,CAAC;AAiBf,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,GA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MAAM,MAAM,2GAA8B,CAAC"}
@@ -1,11 +1,11 @@
1
1
  export declare const optionStyles = "text-black bg-canvas-light dark:text-white dark:bg-overlay-body-dark";
2
2
  export declare const selectStyles = "appearance-none outline-none bg-transparent disabled:bg-gray-10 dark:disabled:bg-gray-40 rounded-1 border-solid border-small font-aktiv-grotesk text-16 leading-loose p-2 w-full mlb-0";
3
3
  export declare const selectStylesErrorBorderStyles = "border-alert-light dark:border-alert-dark";
4
- export declare const selectStylesBaseBorderStyles = "border-tertiary-light dark:border-tertiary-dark";
4
+ export declare const selectStylesBaseBorderStyles = "border-gray-10 dark:border-gray-40";
5
5
  export declare const labelTextStyle = "text-text-muted-light dark:text-text-muted-dark";
6
6
  export declare const labelStyle: string;
7
7
  export declare const labelVisualStyle = "-translate-y-1 opacity-100";
8
8
  export declare const selectTextStyle = "text-overlay-text dark:text-text-dark";
9
- export declare const selectSelectedWithLabelStyle = "!pbs-3 !pbe-1";
10
- export declare const downIconWrapper = "absolute block-end-2 inline-end-1.5 leading-0 pointer-events-none text-text-muted-light dark:text-text-muted-dark";
9
+ export declare const selectSelectedWithLabelStyle = "!pbs-[30px] !pbe-1";
10
+ export declare const downIconWrapper = "absolute inline-end-1.5 leading-0 pointer-events-none text-text-muted-light dark:text-text-muted-dark";
11
11
  //# sourceMappingURL=SelectStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectStyles.d.ts","sourceRoot":"","sources":["../../../src/Select/SelectStyles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,yEAAyE,CAAC;AACnG,eAAO,MAAM,YAAY,2LACiK,CAAC;AAC3L,eAAO,MAAM,6BAA6B,8CAA8C,CAAC;AACzF,eAAO,MAAM,4BAA4B,oDAAoD,CAAC;AAE9F,eAAO,MAAM,cAAc,oDAAoD,CAAC;AAChF,eAAO,MAAM,UAAU,QAGtB,CAAC;AACF,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAE7D,eAAO,MAAM,eAAe,0CAA0C,CAAC;AACvE,eAAO,MAAM,4BAA4B,kBAAkB,CAAC;AAE5D,eAAO,MAAM,eAAe,sHACyF,CAAC"}
1
+ {"version":3,"file":"SelectStyles.d.ts","sourceRoot":"","sources":["../../../src/Select/SelectStyles.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,yEAAyE,CAAC;AACnG,eAAO,MAAM,YAAY,2LACiK,CAAC;AAC3L,eAAO,MAAM,6BAA6B,8CAA8C,CAAC;AACzF,eAAO,MAAM,4BAA4B,uCAAuC,CAAC;AAEjF,eAAO,MAAM,cAAc,oDAAoD,CAAC;AAChF,eAAO,MAAM,UAAU,QAGtB,CAAC;AACF,eAAO,MAAM,gBAAgB,+BAA+B,CAAC;AAE7D,eAAO,MAAM,eAAe,0CAA0C,CAAC;AACvE,eAAO,MAAM,4BAA4B,uBAAuB,CAAC;AAEjE,eAAO,MAAM,eAAe,0GAC6E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/design-system-components",
3
- "version": "1.3.5",
3
+ "version": "1.4.0",
4
4
  "main": "./dist/index.umd.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "validate": "yarn lint && yarn typecheck && yarn test"
22
22
  },
23
23
  "dependencies": {
24
- "@youversion/design-system-core": "1.2.0",
25
- "@youversion/design-system-icons": "1.1.0",
24
+ "@youversion/design-system-core": "1.2.1",
25
+ "@youversion/design-system-icons": "1.2.0",
26
26
  "@youversion/design-system-tokens": "1.3.0",
27
27
  "clsx": "1.2.1",
28
28
  "tailwind-merge": "1.13.2"