@khanacademy/wonder-blocks-core 12.3.0 → 12.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @khanacademy/wonder-blocks-core
2
2
 
3
+ ## 12.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1334e74: Adding dir to View's type to support RTL usage.
8
+
3
9
  ## 12.3.0
4
10
 
5
11
  ### Minor Changes
@@ -17,6 +17,7 @@ declare const Text: React.ForwardRefExoticComponent<{
17
17
  testId?: string;
18
18
  lang?: string;
19
19
  className?: string;
20
+ dir?: "ltr" | "rtl" | "auto";
20
21
  htmlFor?: string;
21
22
  tabIndex?: number;
22
23
  id?: string;
@@ -71,6 +71,10 @@ export type TextViewSharedProps = {
71
71
  * Optional CSS classes for the entire dropdown component.
72
72
  */
73
73
  className?: string;
74
+ /**
75
+ * The text direction for the element.
76
+ */
77
+ dir?: "ltr" | "rtl" | "auto";
74
78
  htmlFor?: string;
75
79
  tabIndex?: number;
76
80
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-core",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -19,7 +19,7 @@
19
19
  "react-router-dom-v5-compat": "^6.30.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@khanacademy/wb-dev-build-settings": "3.0.0",
22
+ "@khanacademy/wb-dev-build-settings": "3.2.0",
23
23
  "@khanacademy/wonder-blocks-testing-core": "3.0.1"
24
24
  },
25
25
  "author": "",