@atlaskit/code 17.2.4 → 17.2.6

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,20 @@
1
1
  # @atlaskit/code
2
2
 
3
+ ## 17.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
8
+ add type info to forwardRef components
9
+ - Updated dependencies
10
+
11
+ ## 17.2.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
16
+ Internal changes to how borders are applied.
17
+
3
18
  ## 17.2.4
4
19
 
5
20
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,105 +1,160 @@
1
1
 
2
- ._1ozdn7od code, ._7xinn7od code[class*=language-], ._t7aun7od pre[class*=language-]{all:unset}
2
+ ._1ozdn7od code{all:unset}
3
+ ._7xinn7od code[class*=language-]{all:unset}
3
4
  ._i7ngn7od .token:not([class=token],[data-ds--code--row--highlight],[data-ds--code--row]){all:unset}
5
+ ._t7aun7od pre[class*=language-]{all:unset}
4
6
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
7
  ._1dqoglyw{border-style:none}
6
- ._1agb1dyw [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]), ._lkm81dyw [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-top:1px dashed transparent}
7
- ._j1w0ww7y [data-ds--code--row--highlight] .linenumber{border-left:4px solid var(--ds-border-focused,#388bff)}
8
- ._tv41hkgb [data-ds--code--row--highlight] .linenumber:before{border-top:1px solid var(--ds-border-focused,#388bff)}
9
- ._wozj1dyw [data-ds--code--row--highlight]:last-child{border-bottom:1px dashed transparent}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
10
- ._12l6ysn8 [data-ds--code--row--highlight]:after, ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
8
+ ._196q1xv3 [data-ds--code--row--highlight]:last-child{border-block-end:var(--ds-border-width,1px) dashed transparent}
9
+ ._1srn17d7 [data-ds--code--row--highlight] .linenumber:before{border-block-start:var(--ds-border-width,1px) solid var(--ds-border-focused,#388bff)}
10
+ ._1v9c1xv3 [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-block-start:var(--ds-border-width,1px) dashed transparent}
11
+ ._1vbw1xv3 [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]){border-block-start:var(--ds-border-width,1px) dashed transparent}
12
+ ._ra6gww7y [data-ds--code--row--highlight] .linenumber{border-inline-start:4px solid var(--ds-border-focused,#388bff)}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
13
+ ._11wmidpf code[class*=language-]{padding-inline-start:0}
14
+ ._11wmu2gc code[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
15
+ ._12l6ysn8 [data-ds--code--row--highlight]:after{clip-path:inset(100%)}
11
16
  ._12nh9lu1 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.deleted{color:var(--ds-text-accent-red,#ae2e24)}
12
- ._12tu1a66 .linenumber, ._zu0j1a66 .ds-sh-line-number{padding-right:var(--ds-space-100,8px)!important}
13
- ._131n1giz .linenumber, ._gy101giz .ds-sh-line-number{font-style:normal!important}
17
+ ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
18
+ ._131n1giz .linenumber{font-style:normal!important}
14
19
  ._137bh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.inserted{color:var(--ds-text-accent-green,#216e4e)}
15
20
  ._13cdh2mm [data-ds--code--row--highlight] .linenumber{position:relative}
16
21
  ._13dgkb7n code:last-of-type{flex-shrink:1}
17
22
  ._13zt131l .token.token.token.token.token.token.token.substr{color:var(--ds-text-subtlest,#626f86)}
18
- ._14y71a66 code:last-of-type{padding-right:var(--ds-space-100,8px)!important}
19
- ._1552u2gc .linenumber, ._12afu2gc .ds-sh-line-number{margin-right:var(--ds-space-100,8px)}
20
- ._15ba126e [data-ds--code--row--highlight] .linenumber{padding-left:var(--ds-space-050,4px)!important}
23
+ ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
24
+ ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
25
+ ._16noidpf code{padding-inline-end:0}
26
+ ._16nou2gc code{padding-inline-end:var(--ds-space-100,8px)}
21
27
  ._17071olh code:first-of-type{background-image:linear-gradient(to right,var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)),var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)) var(--ads-code-line-number-width),transparent var(--ads-code-line-number-width),transparent)}
22
- ._17wyu2gc code, ._pn28u2gc code[class*=language-], ._gz9fu2gc pre[class*=language-]{padding-bottom:var(--ds-space-100,8px)}
28
+ ._18r6myb0 [data-ds--code--row--highlight] .linenumber:before{inset-inline-start:-4px}
23
29
  ._19o610m5 .token.token.token.token.token.token.token.token.token.token.url{color:var(--ds-text-accent-purple,#5e4db2)}
24
- ._1b9tpnps .token.token.token.token.token.token.token.token.builtin, ._1tq6pnps .token.token.token.token.token.token.token.token.bullet, ._1rd2pnps .token.token.token.token.token.token.token.token.code, ._1pbkpnps .token.token.token.token.token.token.token.token.entity, ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
30
+ ._1amdidpf .ds-sh-line-number{flex-shrink:0}
31
+ ._1ascu2gc .linenumber{padding-inline-start:var(--ds-space-100,8px)}
32
+ ._1b9tpnps .token.token.token.token.token.token.token.token.builtin{color:var(--ds-text-accent-blue,#05c)}
33
+ ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
34
+ ._1bx8idpf pre[class*=language-]{padding-inline-start:0}
35
+ ._1bx8u2gc pre[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
25
36
  ._1d4j1y44 [data-ds--code--row--highlight] .linenumber:before{width:4px}
37
+ ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag{color:var(--ds-text-accent-teal,#206a83)}
26
38
  ._1e0c1txw{display:flex}
27
39
  ._1eimjvyg{direction:ltr}
28
- ._1exb1q9c [data-ds--code--row--highlight]:after, ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
40
+ ._1exb1q9c [data-ds--code--row--highlight]:after{white-space:nowrap}
29
41
  ._1f0gpnps .token.token.token.selector{color:var(--ds-text-accent-blue,#05c)}
30
42
  ._1f8gstnw [data-ds--code--row--highlight] .linenumber:before{position:absolute}
31
43
  ._1g0517qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.constant{color:var(--ds-text-accent-teal,#206a83)}
32
- ._1gec1a66 [data-ds--code--row]{padding-right:var(--ds-space-100,8px)!important}
44
+ ._1g4tidpf code{padding-inline-start:0}
45
+ ._1g4tu2gc code{padding-inline-start:var(--ds-space-100,8px)}
33
46
  ._1gx21e5h .linenumber{float:left}
34
- ._1hmimyb0 [data-ds--code--row--highlight] .linenumber:before{left:-4px}
35
- ._1hmyegat code, ._vblregat code[class*=language-], ._vbulegat pre[class*=language-]{tab-size:4}
36
- ._1huoidpf code, ._1a9lidpf code[class*=language-], ._20bqidpf pre[class*=language-]{padding-right:0}
37
- ._1huou2gc code, ._1a9lu2gc code[class*=language-], ._20bqu2gc pre[class*=language-]{padding-right:var(--ds-space-100,8px)}
47
+ ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
48
+ ._1hmyegat code{tab-size:4}
38
49
  ._1i3h1txw [data-ds--code--row]{display:flex}
39
50
  ._1i3h1ule [data-ds--code--row]{display:block}
51
+ ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
40
52
  ._1k47pnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.number{color:var(--ds-text-accent-blue,#05c)}
41
53
  ._1k7d1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.char{color:var(--ds-text,#172b4d)}
42
- ._1ls01ule .linenumber, ._rude1ule .ds-sh-line-number{display:block}
54
+ ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
55
+ ._1ls01ule .linenumber{display:block}
43
56
  ._1ls0df4r .linenumber{display:inline-block!important}
44
- ._1m3815vq [data-ds--code--row--highlight]:after, ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
45
- ._1mgnt94y [data-ds--code--row--highlight]:after, ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
57
+ ._1m3815vq [data-ds--code--row--highlight]:after{overflow-y:hidden}
58
+ ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo{color:var(--ds-text-accent-teal,#206a83)}
59
+ ._1mgnt94y [data-ds--code--row--highlight]:after{width:1px}
46
60
  ._1n6tpnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.prolog{color:var(--ds-text-accent-blue,#05c)}
47
61
  ._1na21hna code:last-of-type{word-break:break-word}
48
- ._1oggidpf code, ._bympidpf code[class*=language-], ._9nnjidpf pre[class*=language-]{padding-left:0}
49
- ._1oggu2gc code, ._bympu2gc code[class*=language-], ._9nnju2gc pre[class*=language-]{padding-left:var(--ds-space-100,8px)}
62
+ ._1np517qg .token.token.token.token.token.token.token.token.token.symbol{color:var(--ds-text-accent-teal,#206a83)}
63
+ ._1ohiu2gc pre[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
64
+ ._1pbkpnps .token.token.token.token.token.token.token.token.entity{color:var(--ds-text-accent-blue,#05c)}
65
+ ._1pp0126e [data-ds--code--row--highlight] .linenumber{padding-inline-start:var(--ds-space-050,4px)!important}
50
66
  ._1pzyb3bt [data-ds--code--row--highlight] .linenumber:before{content:""}
51
- ._1q16glyw .linenumber, ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
52
- ._1ra01n1a [data-ds--code--row--highlight] .linenumber:before{top:-1px}
67
+ ._1q16glyw .linenumber{-webkit-user-select:none;-ms-user-select:none;user-select:none}
68
+ ._1rd2pnps .token.token.token.token.token.token.token.token.code{color:var(--ds-text-accent-blue,#05c)}
53
69
  ._1reo1wug{overflow-x:auto}
70
+ ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
54
71
  ._1t361fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.operator{color:var(--ds-text,#172b4d)}
72
+ ._1tq6pnps .token.token.token.token.token.token.token.token.bullet{color:var(--ds-text-accent-blue,#05c)}
55
73
  ._1v0lh55r .token.token.token.token.token.token.token.token.token.token.token.token.string{color:var(--ds-text-accent-green,#216e4e)}
56
- ._1v15u2gc code, ._ilvcu2gc code[class*=language-], ._m29uu2gc pre[class*=language-]{padding-top:var(--ds-space-100,8px)}
74
+ ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section{color:var(--ds-text-accent-purple,#5e4db2)}
75
+ ._1w2xu2gc pre[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
57
76
  ._1weckb7n code:last-of-type{flex-grow:1}
58
- ._1wfuwrk5 .linenumber, ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
77
+ ._1wfuwrk5 .linenumber{min-width:var(--ads-code-line-number-width)!important}
59
78
  ._1wyb1crf{font-size:9pt}
60
79
  ._1xcoh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.atrule{color:var(--ds-text-accent-green,#216e4e)}
61
- ._1xx2grf3 code:first-of-type{padding-right:0!important}
62
- ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name, ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section, ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
63
- ._28ddu2gc .linenumber, ._1i8zu2gc .ds-sh-line-number{padding-left:var(--ds-space-100,8px)}
80
+ ._1yuau2gc .ds-sh-line-number{padding-inline-start:var(--ds-space-100,8px)}
81
+ ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name{color:var(--ds-text-accent-purple,#5e4db2)}
64
82
  ._2g12fb2s .token.token.token.token.token.token.doctype{color:var(--ds-text-accent-yellow,#7f5f01)}
65
83
  ._326z1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.punctuation{color:var(--ds-text,#172b4d)}
84
+ ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
85
+ ._40uk1l04 [data-ds--code--row]{margin-inline-end:-var(--ds-space-100,8px)}
86
+ ._4io21a66 .ds-sh-line-number{padding-inline-end:var(--ds-space-100,8px)!important}
87
+ ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
88
+ ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr{color:var(--ds-text-accent-teal,#206a83)}
66
89
  ._7gp8h55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta-keyword{color:var(--ds-text-accent-green,#216e4e)}
67
90
  ._97lipnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.boolean{color:var(--ds-text-accent-blue,#05c)}
68
91
  ._9d3e17qg .token.token.attr-name{color:var(--ds-text-accent-teal,#206a83)}
69
92
  ._9k2r1m30 .token.italic{font-style:italic}
70
93
  ._9kk3moej .token.important{font-weight:var(--ds-font-weight-bold,700)}
71
94
  ._9wu1fb2s .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.important{color:var(--ds-text-accent-yellow,#7f5f01)}
72
- ._b5iy131l .token.token.token.token.block-comment, ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
95
+ ._b5iy131l .token.token.token.token.block-comment{color:var(--ds-text-subtlest,#626f86)}
73
96
  ._bfhktkvp{background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#091e420f))}
97
+ ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
98
+ ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
99
+ ._ccm6u2gc .ds-sh-line-number{margin-inline-end:var(--ds-space-100,8px)}
74
100
  ._cjus1w1g .token.bold:not(.important){font-weight:bolder}
75
101
  ._ect41odn{font-family:var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
76
- ._eiht5x2v .token.block-comment:not(.italic), ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
77
- ._euyxusvi .linenumber, ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
102
+ ._eiht5x2v .token.block-comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
103
+ ._euyxusvi .linenumber{box-sizing:border-box}
78
104
  ._g0lx1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.function{color:var(--ds-text,#172b4d)}
105
+ ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
106
+ ._gy101giz .ds-sh-line-number{font-style:normal!important}
107
+ ._h4fuidpf code[class*=language-]{padding-inline-end:0}
108
+ ._h4fuu2gc code[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
79
109
  ._h909m7j4 [data-ds--code--row--highlight]{background-color:var(--ds-background-neutral,#091e420f)}
80
110
  ._i2ig10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.property{color:var(--ds-text-accent-purple,#5e4db2)}
111
+ ._i6ntu2gc code[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
112
+ ._i81p1a66 [data-ds--code--row]{padding-inline-end:var(--ds-space-100,8px)!important}
81
113
  ._ipl81e17 [data-ds--code--row--highlight]:before{content:" [var(--ads-highlighted-start-text)] "}
82
114
  ._j0l11wug code:last-of-type{flex-basis:auto}
83
- ._jeky1l04 [data-ds--code--row]{margin-right:-var(--ds-space-100,8px)}
84
- ._juomusic .linenumber, ._lcwuusic .ds-sh-line-number{text-align:right}
115
+ ._juomusic .linenumber{text-align:right}
116
+ ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
85
117
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
86
118
  ._k86b10m5 .token.token.token.token.token.function-name{color:var(--ds-text-accent-purple,#5e4db2)}
87
- ._kxov17qg .token.token.token.token.token.token.token.token.token.regex, ._1np517qg .token.token.token.token.token.token.token.token.token.symbol, ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
88
- ._mbgcpf9b .linenumber, ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
89
- ._mqok1w1g .token.key:not(.important,.bold), ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
90
- ._mx8b7mnp [data-ds--code--row--highlight]:after, ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
91
- ._nalpstnw [data-ds--code--row--highlight]:after, ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
92
- ._nhmw1m30 .token.block-comment:not(.italic), ._yl021m30 .token.comment:not(.italic){font-style:italic}
119
+ ._kxov17qg .token.token.token.token.token.token.token.token.token.regex{color:var(--ds-text-accent-teal,#206a83)}
120
+ ._lcwuusic .ds-sh-line-number{text-align:right}
121
+ ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
122
+ ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
123
+ ._m802u2gc code{padding-block-end:var(--ds-space-100,8px)}
124
+ ._mbgcpf9b .linenumber{color:var(--ds-text-subtlest,#626f86)!important}
125
+ ._mqok1w1g .token.key:not(.important,.bold){font-weight:bolder}
126
+ ._mx8b7mnp [data-ds--code--row--highlight]:after{clip:rect(1px,1px,1px,1px)}
127
+ ._nalpstnw [data-ds--code--row--highlight]:after{position:absolute}
128
+ ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
129
+ ._nhmw1m30 .token.block-comment:not(.italic){font-style:italic}
93
130
  ._o572qvpr{white-space:pre}
94
- ._qdiapnps .token.key, ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
131
+ ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
132
+ ._pp6yidpf pre[class*=language-]{padding-inline-end:0}
133
+ ._pp6yu2gc pre[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
134
+ ._pyovu2gc .linenumber{margin-inline-end:var(--ds-space-100,8px)}
135
+ ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
136
+ ._qdiapnps .token.key{color:var(--ds-text-accent-blue,#05c)}
137
+ ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
138
+ ._qzn01a66 code:last-of-type{padding-inline-end:var(--ds-space-100,8px)!important}
139
+ ._r28du2gc code{padding-block-start:var(--ds-space-100,8px)}
140
+ ._rude1ule .ds-sh-line-number{display:block}
95
141
  ._scgayz1z [data-ds--code--row--highlight]:after{content:" [var(--ads-highlighted-end-text)] "}
96
142
  ._syaz1fxt{color:var(--ds-text,#172b4d)}
143
+ ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
144
+ ._tajqu2gc code[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
97
145
  ._tgu817qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.attr-value{color:var(--ds-text-accent-teal,#206a83)}
98
- ._vm2c1rh5 .linenumber:after, ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
146
+ ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
147
+ ._vblregat code[class*=language-]{tab-size:4}
148
+ ._vbulegat pre[class*=language-]{tab-size:4}
149
+ ._vm2c1rh5 .linenumber:after{content:attr(data-ds--line-number)}
150
+ ._vsnzgrf3 code:first-of-type{padding-inline-end:0!important}
99
151
  ._vwz4gktf{line-height:20px}
100
- ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote, ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr, ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo, ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag, ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
101
- ._x7c815vq [data-ds--code--row--highlight]:after, ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
102
- ._xo19t94y [data-ds--code--row--highlight]:after, ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
152
+ ._vyvc1n1a [data-ds--code--row--highlight] .linenumber:before{inset-block-start:-1px}
153
+ ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote{color:var(--ds-text-accent-teal,#206a83)}
154
+ ._x7c815vq [data-ds--code--row--highlight]:after{overflow-x:hidden}
155
+ ._xo19t94y [data-ds--code--row--highlight]:after{height:1px}
156
+ ._xr0w1a66 .linenumber{padding-inline-end:var(--ds-space-100,8px)!important}
157
+ ._yl021m30 .token.comment:not(.italic){font-style:italic}
103
158
  ._ys4e131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta{color:var(--ds-text-subtlest,#626f86)}
104
- ._zhnuidpf .linenumber, ._1amdidpf .ds-sh-line-number{flex-shrink:0}
105
- ._zvy9f705 code>span:only-child:empty:before, ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
159
+ ._zhnuidpf .linenumber{flex-shrink:0}
160
+ ._zvy9f705 code>span:only-child:empty:before{content:" "}
@@ -1,4 +1,4 @@
1
- /* code-block.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code-block.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -22,9 +22,9 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
22
22
  /* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-selectors */
23
23
  /* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
24
24
  var getCodeBlockStyles = {
25
- root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _1v15u2gc _ilvcu2gc _m29uu2gc _17wyu2gc _pn28u2gc _gz9fu2gc _1hmyegat _vblregat _vbulegat _wozj1dyw _1agb1dyw _lkm81dyw _tv41hkgb _1hmimyb0 _1ra01n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _j1w0ww7y _13cdh2mm _15ba126e _zvy9f705 _qcxof705 _14y71a66 _j0l11wug _1weckb7n _1na21hna _1xx2grf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _jeky1l04 _1gec1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _1552u2gc _12afu2gc _28ddu2gc _1i8zu2gc _12tu1a66 _zu0j1a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
26
- showLineNumbers: "_17071olh _1i3h1txw _1huoidpf _1a9lidpf _20bqidpf _1oggidpf _bympidpf _9nnjidpf",
27
- dontShowLineNumbers: "_1i3h1ule _1huou2gc _1a9lu2gc _20bqu2gc _1oggu2gc _bympu2gc _9nnju2gc",
25
+ root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _r28du2gc _tajqu2gc _1ohiu2gc _m802u2gc _i6ntu2gc _1w2xu2gc _1hmyegat _vblregat _vbulegat _196q1xv3 _1vbw1xv3 _1v9c1xv3 _1srn17d7 _18r6myb0 _vyvc1n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _ra6gww7y _13cdh2mm _1pp0126e _zvy9f705 _qcxof705 _qzn01a66 _j0l11wug _1weckb7n _1na21hna _vsnzgrf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _40uk1l04 _i81p1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _pyovu2gc _ccm6u2gc _1ascu2gc _1yuau2gc _xr0w1a66 _4io21a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
26
+ showLineNumbers: "_17071olh _1i3h1txw _16noidpf _h4fuidpf _pp6yidpf _1g4tidpf _11wmidpf _1bx8idpf",
27
+ dontShowLineNumbers: "_1i3h1ule _16nou2gc _h4fuu2gc _pp6yu2gc _1g4tu2gc _11wmu2gc _1bx8u2gc",
28
28
  shouldWrapLongLines: "_13dgkb7n",
29
29
  dontWrapLongLines: "_13dgkb7n"
30
30
  };
package/dist/cjs/code.js CHANGED
@@ -1,4 +1,4 @@
1
- /* code.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,105 +1,160 @@
1
1
 
2
- ._1ozdn7od code, ._7xinn7od code[class*=language-], ._t7aun7od pre[class*=language-]{all:unset}
2
+ ._1ozdn7od code{all:unset}
3
+ ._7xinn7od code[class*=language-]{all:unset}
3
4
  ._i7ngn7od .token:not([class=token],[data-ds--code--row--highlight],[data-ds--code--row]){all:unset}
5
+ ._t7aun7od pre[class*=language-]{all:unset}
4
6
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
7
  ._1dqoglyw{border-style:none}
6
- ._1agb1dyw [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]), ._lkm81dyw [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-top:1px dashed transparent}
7
- ._j1w0ww7y [data-ds--code--row--highlight] .linenumber{border-left:4px solid var(--ds-border-focused,#388bff)}
8
- ._tv41hkgb [data-ds--code--row--highlight] .linenumber:before{border-top:1px solid var(--ds-border-focused,#388bff)}
9
- ._wozj1dyw [data-ds--code--row--highlight]:last-child{border-bottom:1px dashed transparent}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
10
- ._12l6ysn8 [data-ds--code--row--highlight]:after, ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
8
+ ._196q1xv3 [data-ds--code--row--highlight]:last-child{border-block-end:var(--ds-border-width,1px) dashed transparent}
9
+ ._1srn17d7 [data-ds--code--row--highlight] .linenumber:before{border-block-start:var(--ds-border-width,1px) solid var(--ds-border-focused,#388bff)}
10
+ ._1v9c1xv3 [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-block-start:var(--ds-border-width,1px) dashed transparent}
11
+ ._1vbw1xv3 [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]){border-block-start:var(--ds-border-width,1px) dashed transparent}
12
+ ._ra6gww7y [data-ds--code--row--highlight] .linenumber{border-inline-start:4px solid var(--ds-border-focused,#388bff)}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
13
+ ._11wmidpf code[class*=language-]{padding-inline-start:0}
14
+ ._11wmu2gc code[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
15
+ ._12l6ysn8 [data-ds--code--row--highlight]:after{clip-path:inset(100%)}
11
16
  ._12nh9lu1 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.deleted{color:var(--ds-text-accent-red,#ae2e24)}
12
- ._12tu1a66 .linenumber, ._zu0j1a66 .ds-sh-line-number{padding-right:var(--ds-space-100,8px)!important}
13
- ._131n1giz .linenumber, ._gy101giz .ds-sh-line-number{font-style:normal!important}
17
+ ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
18
+ ._131n1giz .linenumber{font-style:normal!important}
14
19
  ._137bh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.inserted{color:var(--ds-text-accent-green,#216e4e)}
15
20
  ._13cdh2mm [data-ds--code--row--highlight] .linenumber{position:relative}
16
21
  ._13dgkb7n code:last-of-type{flex-shrink:1}
17
22
  ._13zt131l .token.token.token.token.token.token.token.substr{color:var(--ds-text-subtlest,#626f86)}
18
- ._14y71a66 code:last-of-type{padding-right:var(--ds-space-100,8px)!important}
19
- ._1552u2gc .linenumber, ._12afu2gc .ds-sh-line-number{margin-right:var(--ds-space-100,8px)}
20
- ._15ba126e [data-ds--code--row--highlight] .linenumber{padding-left:var(--ds-space-050,4px)!important}
23
+ ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
24
+ ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
25
+ ._16noidpf code{padding-inline-end:0}
26
+ ._16nou2gc code{padding-inline-end:var(--ds-space-100,8px)}
21
27
  ._17071olh code:first-of-type{background-image:linear-gradient(to right,var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)),var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)) var(--ads-code-line-number-width),transparent var(--ads-code-line-number-width),transparent)}
22
- ._17wyu2gc code, ._pn28u2gc code[class*=language-], ._gz9fu2gc pre[class*=language-]{padding-bottom:var(--ds-space-100,8px)}
28
+ ._18r6myb0 [data-ds--code--row--highlight] .linenumber:before{inset-inline-start:-4px}
23
29
  ._19o610m5 .token.token.token.token.token.token.token.token.token.token.url{color:var(--ds-text-accent-purple,#5e4db2)}
24
- ._1b9tpnps .token.token.token.token.token.token.token.token.builtin, ._1tq6pnps .token.token.token.token.token.token.token.token.bullet, ._1rd2pnps .token.token.token.token.token.token.token.token.code, ._1pbkpnps .token.token.token.token.token.token.token.token.entity, ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
30
+ ._1amdidpf .ds-sh-line-number{flex-shrink:0}
31
+ ._1ascu2gc .linenumber{padding-inline-start:var(--ds-space-100,8px)}
32
+ ._1b9tpnps .token.token.token.token.token.token.token.token.builtin{color:var(--ds-text-accent-blue,#05c)}
33
+ ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
34
+ ._1bx8idpf pre[class*=language-]{padding-inline-start:0}
35
+ ._1bx8u2gc pre[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
25
36
  ._1d4j1y44 [data-ds--code--row--highlight] .linenumber:before{width:4px}
37
+ ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag{color:var(--ds-text-accent-teal,#206a83)}
26
38
  ._1e0c1txw{display:flex}
27
39
  ._1eimjvyg{direction:ltr}
28
- ._1exb1q9c [data-ds--code--row--highlight]:after, ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
40
+ ._1exb1q9c [data-ds--code--row--highlight]:after{white-space:nowrap}
29
41
  ._1f0gpnps .token.token.token.selector{color:var(--ds-text-accent-blue,#05c)}
30
42
  ._1f8gstnw [data-ds--code--row--highlight] .linenumber:before{position:absolute}
31
43
  ._1g0517qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.constant{color:var(--ds-text-accent-teal,#206a83)}
32
- ._1gec1a66 [data-ds--code--row]{padding-right:var(--ds-space-100,8px)!important}
44
+ ._1g4tidpf code{padding-inline-start:0}
45
+ ._1g4tu2gc code{padding-inline-start:var(--ds-space-100,8px)}
33
46
  ._1gx21e5h .linenumber{float:left}
34
- ._1hmimyb0 [data-ds--code--row--highlight] .linenumber:before{left:-4px}
35
- ._1hmyegat code, ._vblregat code[class*=language-], ._vbulegat pre[class*=language-]{tab-size:4}
36
- ._1huoidpf code, ._1a9lidpf code[class*=language-], ._20bqidpf pre[class*=language-]{padding-right:0}
37
- ._1huou2gc code, ._1a9lu2gc code[class*=language-], ._20bqu2gc pre[class*=language-]{padding-right:var(--ds-space-100,8px)}
47
+ ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
48
+ ._1hmyegat code{tab-size:4}
38
49
  ._1i3h1txw [data-ds--code--row]{display:flex}
39
50
  ._1i3h1ule [data-ds--code--row]{display:block}
51
+ ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
40
52
  ._1k47pnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.number{color:var(--ds-text-accent-blue,#05c)}
41
53
  ._1k7d1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.char{color:var(--ds-text,#172b4d)}
42
- ._1ls01ule .linenumber, ._rude1ule .ds-sh-line-number{display:block}
54
+ ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
55
+ ._1ls01ule .linenumber{display:block}
43
56
  ._1ls0df4r .linenumber{display:inline-block!important}
44
- ._1m3815vq [data-ds--code--row--highlight]:after, ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
45
- ._1mgnt94y [data-ds--code--row--highlight]:after, ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
57
+ ._1m3815vq [data-ds--code--row--highlight]:after{overflow-y:hidden}
58
+ ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo{color:var(--ds-text-accent-teal,#206a83)}
59
+ ._1mgnt94y [data-ds--code--row--highlight]:after{width:1px}
46
60
  ._1n6tpnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.prolog{color:var(--ds-text-accent-blue,#05c)}
47
61
  ._1na21hna code:last-of-type{word-break:break-word}
48
- ._1oggidpf code, ._bympidpf code[class*=language-], ._9nnjidpf pre[class*=language-]{padding-left:0}
49
- ._1oggu2gc code, ._bympu2gc code[class*=language-], ._9nnju2gc pre[class*=language-]{padding-left:var(--ds-space-100,8px)}
62
+ ._1np517qg .token.token.token.token.token.token.token.token.token.symbol{color:var(--ds-text-accent-teal,#206a83)}
63
+ ._1ohiu2gc pre[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
64
+ ._1pbkpnps .token.token.token.token.token.token.token.token.entity{color:var(--ds-text-accent-blue,#05c)}
65
+ ._1pp0126e [data-ds--code--row--highlight] .linenumber{padding-inline-start:var(--ds-space-050,4px)!important}
50
66
  ._1pzyb3bt [data-ds--code--row--highlight] .linenumber:before{content:""}
51
- ._1q16glyw .linenumber, ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
52
- ._1ra01n1a [data-ds--code--row--highlight] .linenumber:before{top:-1px}
67
+ ._1q16glyw .linenumber{-webkit-user-select:none;-ms-user-select:none;user-select:none}
68
+ ._1rd2pnps .token.token.token.token.token.token.token.token.code{color:var(--ds-text-accent-blue,#05c)}
53
69
  ._1reo1wug{overflow-x:auto}
70
+ ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
54
71
  ._1t361fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.operator{color:var(--ds-text,#172b4d)}
72
+ ._1tq6pnps .token.token.token.token.token.token.token.token.bullet{color:var(--ds-text-accent-blue,#05c)}
55
73
  ._1v0lh55r .token.token.token.token.token.token.token.token.token.token.token.token.string{color:var(--ds-text-accent-green,#216e4e)}
56
- ._1v15u2gc code, ._ilvcu2gc code[class*=language-], ._m29uu2gc pre[class*=language-]{padding-top:var(--ds-space-100,8px)}
74
+ ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section{color:var(--ds-text-accent-purple,#5e4db2)}
75
+ ._1w2xu2gc pre[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
57
76
  ._1weckb7n code:last-of-type{flex-grow:1}
58
- ._1wfuwrk5 .linenumber, ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
77
+ ._1wfuwrk5 .linenumber{min-width:var(--ads-code-line-number-width)!important}
59
78
  ._1wyb1crf{font-size:9pt}
60
79
  ._1xcoh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.atrule{color:var(--ds-text-accent-green,#216e4e)}
61
- ._1xx2grf3 code:first-of-type{padding-right:0!important}
62
- ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name, ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section, ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
63
- ._28ddu2gc .linenumber, ._1i8zu2gc .ds-sh-line-number{padding-left:var(--ds-space-100,8px)}
80
+ ._1yuau2gc .ds-sh-line-number{padding-inline-start:var(--ds-space-100,8px)}
81
+ ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name{color:var(--ds-text-accent-purple,#5e4db2)}
64
82
  ._2g12fb2s .token.token.token.token.token.token.doctype{color:var(--ds-text-accent-yellow,#7f5f01)}
65
83
  ._326z1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.punctuation{color:var(--ds-text,#172b4d)}
84
+ ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
85
+ ._40uk1l04 [data-ds--code--row]{margin-inline-end:-var(--ds-space-100,8px)}
86
+ ._4io21a66 .ds-sh-line-number{padding-inline-end:var(--ds-space-100,8px)!important}
87
+ ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
88
+ ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr{color:var(--ds-text-accent-teal,#206a83)}
66
89
  ._7gp8h55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta-keyword{color:var(--ds-text-accent-green,#216e4e)}
67
90
  ._97lipnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.boolean{color:var(--ds-text-accent-blue,#05c)}
68
91
  ._9d3e17qg .token.token.attr-name{color:var(--ds-text-accent-teal,#206a83)}
69
92
  ._9k2r1m30 .token.italic{font-style:italic}
70
93
  ._9kk3moej .token.important{font-weight:var(--ds-font-weight-bold,700)}
71
94
  ._9wu1fb2s .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.important{color:var(--ds-text-accent-yellow,#7f5f01)}
72
- ._b5iy131l .token.token.token.token.block-comment, ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
95
+ ._b5iy131l .token.token.token.token.block-comment{color:var(--ds-text-subtlest,#626f86)}
73
96
  ._bfhktkvp{background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#091e420f))}
97
+ ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
98
+ ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
99
+ ._ccm6u2gc .ds-sh-line-number{margin-inline-end:var(--ds-space-100,8px)}
74
100
  ._cjus1w1g .token.bold:not(.important){font-weight:bolder}
75
101
  ._ect41odn{font-family:var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
76
- ._eiht5x2v .token.block-comment:not(.italic), ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
77
- ._euyxusvi .linenumber, ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
102
+ ._eiht5x2v .token.block-comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
103
+ ._euyxusvi .linenumber{box-sizing:border-box}
78
104
  ._g0lx1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.function{color:var(--ds-text,#172b4d)}
105
+ ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
106
+ ._gy101giz .ds-sh-line-number{font-style:normal!important}
107
+ ._h4fuidpf code[class*=language-]{padding-inline-end:0}
108
+ ._h4fuu2gc code[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
79
109
  ._h909m7j4 [data-ds--code--row--highlight]{background-color:var(--ds-background-neutral,#091e420f)}
80
110
  ._i2ig10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.property{color:var(--ds-text-accent-purple,#5e4db2)}
111
+ ._i6ntu2gc code[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
112
+ ._i81p1a66 [data-ds--code--row]{padding-inline-end:var(--ds-space-100,8px)!important}
81
113
  ._ipl81e17 [data-ds--code--row--highlight]:before{content:" [var(--ads-highlighted-start-text)] "}
82
114
  ._j0l11wug code:last-of-type{flex-basis:auto}
83
- ._jeky1l04 [data-ds--code--row]{margin-right:-var(--ds-space-100,8px)}
84
- ._juomusic .linenumber, ._lcwuusic .ds-sh-line-number{text-align:right}
115
+ ._juomusic .linenumber{text-align:right}
116
+ ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
85
117
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
86
118
  ._k86b10m5 .token.token.token.token.token.function-name{color:var(--ds-text-accent-purple,#5e4db2)}
87
- ._kxov17qg .token.token.token.token.token.token.token.token.token.regex, ._1np517qg .token.token.token.token.token.token.token.token.token.symbol, ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
88
- ._mbgcpf9b .linenumber, ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
89
- ._mqok1w1g .token.key:not(.important,.bold), ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
90
- ._mx8b7mnp [data-ds--code--row--highlight]:after, ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
91
- ._nalpstnw [data-ds--code--row--highlight]:after, ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
92
- ._nhmw1m30 .token.block-comment:not(.italic), ._yl021m30 .token.comment:not(.italic){font-style:italic}
119
+ ._kxov17qg .token.token.token.token.token.token.token.token.token.regex{color:var(--ds-text-accent-teal,#206a83)}
120
+ ._lcwuusic .ds-sh-line-number{text-align:right}
121
+ ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
122
+ ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
123
+ ._m802u2gc code{padding-block-end:var(--ds-space-100,8px)}
124
+ ._mbgcpf9b .linenumber{color:var(--ds-text-subtlest,#626f86)!important}
125
+ ._mqok1w1g .token.key:not(.important,.bold){font-weight:bolder}
126
+ ._mx8b7mnp [data-ds--code--row--highlight]:after{clip:rect(1px,1px,1px,1px)}
127
+ ._nalpstnw [data-ds--code--row--highlight]:after{position:absolute}
128
+ ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
129
+ ._nhmw1m30 .token.block-comment:not(.italic){font-style:italic}
93
130
  ._o572qvpr{white-space:pre}
94
- ._qdiapnps .token.key, ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
131
+ ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
132
+ ._pp6yidpf pre[class*=language-]{padding-inline-end:0}
133
+ ._pp6yu2gc pre[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
134
+ ._pyovu2gc .linenumber{margin-inline-end:var(--ds-space-100,8px)}
135
+ ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
136
+ ._qdiapnps .token.key{color:var(--ds-text-accent-blue,#05c)}
137
+ ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
138
+ ._qzn01a66 code:last-of-type{padding-inline-end:var(--ds-space-100,8px)!important}
139
+ ._r28du2gc code{padding-block-start:var(--ds-space-100,8px)}
140
+ ._rude1ule .ds-sh-line-number{display:block}
95
141
  ._scgayz1z [data-ds--code--row--highlight]:after{content:" [var(--ads-highlighted-end-text)] "}
96
142
  ._syaz1fxt{color:var(--ds-text,#172b4d)}
143
+ ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
144
+ ._tajqu2gc code[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
97
145
  ._tgu817qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.attr-value{color:var(--ds-text-accent-teal,#206a83)}
98
- ._vm2c1rh5 .linenumber:after, ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
146
+ ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
147
+ ._vblregat code[class*=language-]{tab-size:4}
148
+ ._vbulegat pre[class*=language-]{tab-size:4}
149
+ ._vm2c1rh5 .linenumber:after{content:attr(data-ds--line-number)}
150
+ ._vsnzgrf3 code:first-of-type{padding-inline-end:0!important}
99
151
  ._vwz4gktf{line-height:20px}
100
- ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote, ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr, ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo, ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag, ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
101
- ._x7c815vq [data-ds--code--row--highlight]:after, ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
102
- ._xo19t94y [data-ds--code--row--highlight]:after, ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
152
+ ._vyvc1n1a [data-ds--code--row--highlight] .linenumber:before{inset-block-start:-1px}
153
+ ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote{color:var(--ds-text-accent-teal,#206a83)}
154
+ ._x7c815vq [data-ds--code--row--highlight]:after{overflow-x:hidden}
155
+ ._xo19t94y [data-ds--code--row--highlight]:after{height:1px}
156
+ ._xr0w1a66 .linenumber{padding-inline-end:var(--ds-space-100,8px)!important}
157
+ ._yl021m30 .token.comment:not(.italic){font-style:italic}
103
158
  ._ys4e131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta{color:var(--ds-text-subtlest,#626f86)}
104
- ._zhnuidpf .linenumber, ._1amdidpf .ds-sh-line-number{flex-shrink:0}
105
- ._zvy9f705 code>span:only-child:empty:before, ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
159
+ ._zhnuidpf .linenumber{flex-shrink:0}
160
+ ._zvy9f705 code>span:only-child:empty:before{content:" "}
@@ -1,4 +1,4 @@
1
- /* code-block.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code-block.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  /* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-selectors */
3
3
  /* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
4
4
  import "./code-block.compiled.css";
@@ -12,9 +12,9 @@ import { getLineNumWidth } from './internal/theme/styles';
12
12
  import { normalizeLanguage } from './internal/utils/get-normalized-language';
13
13
  import SyntaxHighlighter from './syntax-highlighter';
14
14
  const getCodeBlockStyles = {
15
- root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _1v15u2gc _ilvcu2gc _m29uu2gc _17wyu2gc _pn28u2gc _gz9fu2gc _1hmyegat _vblregat _vbulegat _wozj1dyw _1agb1dyw _lkm81dyw _tv41hkgb _1hmimyb0 _1ra01n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _j1w0ww7y _13cdh2mm _15ba126e _zvy9f705 _qcxof705 _14y71a66 _j0l11wug _1weckb7n _1na21hna _1xx2grf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _jeky1l04 _1gec1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _1552u2gc _12afu2gc _28ddu2gc _1i8zu2gc _12tu1a66 _zu0j1a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
16
- showLineNumbers: "_17071olh _1i3h1txw _1huoidpf _1a9lidpf _20bqidpf _1oggidpf _bympidpf _9nnjidpf",
17
- dontShowLineNumbers: "_1i3h1ule _1huou2gc _1a9lu2gc _20bqu2gc _1oggu2gc _bympu2gc _9nnju2gc",
15
+ root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _r28du2gc _tajqu2gc _1ohiu2gc _m802u2gc _i6ntu2gc _1w2xu2gc _1hmyegat _vblregat _vbulegat _196q1xv3 _1vbw1xv3 _1v9c1xv3 _1srn17d7 _18r6myb0 _vyvc1n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _ra6gww7y _13cdh2mm _1pp0126e _zvy9f705 _qcxof705 _qzn01a66 _j0l11wug _1weckb7n _1na21hna _vsnzgrf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _40uk1l04 _i81p1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _pyovu2gc _ccm6u2gc _1ascu2gc _1yuau2gc _xr0w1a66 _4io21a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
16
+ showLineNumbers: "_17071olh _1i3h1txw _16noidpf _h4fuidpf _pp6yidpf _1g4tidpf _11wmidpf _1bx8idpf",
17
+ dontShowLineNumbers: "_1i3h1ule _16nou2gc _h4fuu2gc _pp6yu2gc _1g4tu2gc _11wmu2gc _1bx8u2gc",
18
18
  shouldWrapLongLines: "_13dgkb7n",
19
19
  dontWrapLongLines: "_13dgkb7n"
20
20
  };
@@ -1,4 +1,4 @@
1
- /* code.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./code.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* styled.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./styled.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,105 +1,160 @@
1
1
 
2
- ._1ozdn7od code, ._7xinn7od code[class*=language-], ._t7aun7od pre[class*=language-]{all:unset}
2
+ ._1ozdn7od code{all:unset}
3
+ ._7xinn7od code[class*=language-]{all:unset}
3
4
  ._i7ngn7od .token:not([class=token],[data-ds--code--row--highlight],[data-ds--code--row]){all:unset}
5
+ ._t7aun7od pre[class*=language-]{all:unset}
4
6
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
5
7
  ._1dqoglyw{border-style:none}
6
- ._1agb1dyw [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]), ._lkm81dyw [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-top:1px dashed transparent}
7
- ._j1w0ww7y [data-ds--code--row--highlight] .linenumber{border-left:4px solid var(--ds-border-focused,#388bff)}
8
- ._tv41hkgb [data-ds--code--row--highlight] .linenumber:before{border-top:1px solid var(--ds-border-focused,#388bff)}
9
- ._wozj1dyw [data-ds--code--row--highlight]:last-child{border-bottom:1px dashed transparent}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
10
- ._12l6ysn8 [data-ds--code--row--highlight]:after, ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
8
+ ._196q1xv3 [data-ds--code--row--highlight]:last-child{border-block-end:var(--ds-border-width,1px) dashed transparent}
9
+ ._1srn17d7 [data-ds--code--row--highlight] .linenumber:before{border-block-start:var(--ds-border-width,1px) solid var(--ds-border-focused,#388bff)}
10
+ ._1v9c1xv3 [data-ds--code--row]:not([data-ds--code--row--highlight])+[data-ds--code--row--highlight]{border-block-start:var(--ds-border-width,1px) dashed transparent}
11
+ ._1vbw1xv3 [data-ds--code--row--highlight]+[data-ds--code--row]:not([data-ds--code--row--highlight]){border-block-start:var(--ds-border-width,1px) dashed transparent}
12
+ ._ra6gww7y [data-ds--code--row--highlight] .linenumber{border-inline-start:4px solid var(--ds-border-focused,#388bff)}._113p131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.cdata{color:var(--ds-text-subtlest,#626f86)}
13
+ ._11wmidpf code[class*=language-]{padding-inline-start:0}
14
+ ._11wmu2gc code[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
15
+ ._12l6ysn8 [data-ds--code--row--highlight]:after{clip-path:inset(100%)}
11
16
  ._12nh9lu1 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.deleted{color:var(--ds-text-accent-red,#ae2e24)}
12
- ._12tu1a66 .linenumber, ._zu0j1a66 .ds-sh-line-number{padding-right:var(--ds-space-100,8px)!important}
13
- ._131n1giz .linenumber, ._gy101giz .ds-sh-line-number{font-style:normal!important}
17
+ ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
18
+ ._131n1giz .linenumber{font-style:normal!important}
14
19
  ._137bh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.inserted{color:var(--ds-text-accent-green,#216e4e)}
15
20
  ._13cdh2mm [data-ds--code--row--highlight] .linenumber{position:relative}
16
21
  ._13dgkb7n code:last-of-type{flex-shrink:1}
17
22
  ._13zt131l .token.token.token.token.token.token.token.substr{color:var(--ds-text-subtlest,#626f86)}
18
- ._14y71a66 code:last-of-type{padding-right:var(--ds-space-100,8px)!important}
19
- ._1552u2gc .linenumber, ._12afu2gc .ds-sh-line-number{margin-right:var(--ds-space-100,8px)}
20
- ._15ba126e [data-ds--code--row--highlight] .linenumber{padding-left:var(--ds-space-050,4px)!important}
23
+ ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
24
+ ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
25
+ ._16noidpf code{padding-inline-end:0}
26
+ ._16nou2gc code{padding-inline-end:var(--ds-space-100,8px)}
21
27
  ._17071olh code:first-of-type{background-image:linear-gradient(to right,var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)),var(--ds--code--line-number-bg-color,var(--ds-background-neutral,#091e420f)) var(--ads-code-line-number-width),transparent var(--ads-code-line-number-width),transparent)}
22
- ._17wyu2gc code, ._pn28u2gc code[class*=language-], ._gz9fu2gc pre[class*=language-]{padding-bottom:var(--ds-space-100,8px)}
28
+ ._18r6myb0 [data-ds--code--row--highlight] .linenumber:before{inset-inline-start:-4px}
23
29
  ._19o610m5 .token.token.token.token.token.token.token.token.token.token.url{color:var(--ds-text-accent-purple,#5e4db2)}
24
- ._1b9tpnps .token.token.token.token.token.token.token.token.builtin, ._1tq6pnps .token.token.token.token.token.token.token.token.bullet, ._1rd2pnps .token.token.token.token.token.token.token.token.code, ._1pbkpnps .token.token.token.token.token.token.token.token.entity, ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
30
+ ._1amdidpf .ds-sh-line-number{flex-shrink:0}
31
+ ._1ascu2gc .linenumber{padding-inline-start:var(--ds-space-100,8px)}
32
+ ._1b9tpnps .token.token.token.token.token.token.token.token.builtin{color:var(--ds-text-accent-blue,#05c)}
33
+ ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
34
+ ._1bx8idpf pre[class*=language-]{padding-inline-start:0}
35
+ ._1bx8u2gc pre[class*=language-]{padding-inline-start:var(--ds-space-100,8px)}
25
36
  ._1d4j1y44 [data-ds--code--row--highlight] .linenumber:before{width:4px}
37
+ ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag{color:var(--ds-text-accent-teal,#206a83)}
26
38
  ._1e0c1txw{display:flex}
27
39
  ._1eimjvyg{direction:ltr}
28
- ._1exb1q9c [data-ds--code--row--highlight]:after, ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
40
+ ._1exb1q9c [data-ds--code--row--highlight]:after{white-space:nowrap}
29
41
  ._1f0gpnps .token.token.token.selector{color:var(--ds-text-accent-blue,#05c)}
30
42
  ._1f8gstnw [data-ds--code--row--highlight] .linenumber:before{position:absolute}
31
43
  ._1g0517qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.constant{color:var(--ds-text-accent-teal,#206a83)}
32
- ._1gec1a66 [data-ds--code--row]{padding-right:var(--ds-space-100,8px)!important}
44
+ ._1g4tidpf code{padding-inline-start:0}
45
+ ._1g4tu2gc code{padding-inline-start:var(--ds-space-100,8px)}
33
46
  ._1gx21e5h .linenumber{float:left}
34
- ._1hmimyb0 [data-ds--code--row--highlight] .linenumber:before{left:-4px}
35
- ._1hmyegat code, ._vblregat code[class*=language-], ._vbulegat pre[class*=language-]{tab-size:4}
36
- ._1huoidpf code, ._1a9lidpf code[class*=language-], ._20bqidpf pre[class*=language-]{padding-right:0}
37
- ._1huou2gc code, ._1a9lu2gc code[class*=language-], ._20bqu2gc pre[class*=language-]{padding-right:var(--ds-space-100,8px)}
47
+ ._1hgu1q9c [data-ds--code--row--highlight]:before{white-space:nowrap}
48
+ ._1hmyegat code{tab-size:4}
38
49
  ._1i3h1txw [data-ds--code--row]{display:flex}
39
50
  ._1i3h1ule [data-ds--code--row]{display:block}
51
+ ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
40
52
  ._1k47pnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.number{color:var(--ds-text-accent-blue,#05c)}
41
53
  ._1k7d1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.char{color:var(--ds-text,#172b4d)}
42
- ._1ls01ule .linenumber, ._rude1ule .ds-sh-line-number{display:block}
54
+ ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
55
+ ._1ls01ule .linenumber{display:block}
43
56
  ._1ls0df4r .linenumber{display:inline-block!important}
44
- ._1m3815vq [data-ds--code--row--highlight]:after, ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
45
- ._1mgnt94y [data-ds--code--row--highlight]:after, ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
57
+ ._1m3815vq [data-ds--code--row--highlight]:after{overflow-y:hidden}
58
+ ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo{color:var(--ds-text-accent-teal,#206a83)}
59
+ ._1mgnt94y [data-ds--code--row--highlight]:after{width:1px}
46
60
  ._1n6tpnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.prolog{color:var(--ds-text-accent-blue,#05c)}
47
61
  ._1na21hna code:last-of-type{word-break:break-word}
48
- ._1oggidpf code, ._bympidpf code[class*=language-], ._9nnjidpf pre[class*=language-]{padding-left:0}
49
- ._1oggu2gc code, ._bympu2gc code[class*=language-], ._9nnju2gc pre[class*=language-]{padding-left:var(--ds-space-100,8px)}
62
+ ._1np517qg .token.token.token.token.token.token.token.token.token.symbol{color:var(--ds-text-accent-teal,#206a83)}
63
+ ._1ohiu2gc pre[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
64
+ ._1pbkpnps .token.token.token.token.token.token.token.token.entity{color:var(--ds-text-accent-blue,#05c)}
65
+ ._1pp0126e [data-ds--code--row--highlight] .linenumber{padding-inline-start:var(--ds-space-050,4px)!important}
50
66
  ._1pzyb3bt [data-ds--code--row--highlight] .linenumber:before{content:""}
51
- ._1q16glyw .linenumber, ._1io6glyw .ds-sh-line-number{-webkit-user-select:none;-ms-user-select:none;user-select:none}
52
- ._1ra01n1a [data-ds--code--row--highlight] .linenumber:before{top:-1px}
67
+ ._1q16glyw .linenumber{-webkit-user-select:none;-ms-user-select:none;user-select:none}
68
+ ._1rd2pnps .token.token.token.token.token.token.token.token.code{color:var(--ds-text-accent-blue,#05c)}
53
69
  ._1reo1wug{overflow-x:auto}
70
+ ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
54
71
  ._1t361fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.operator{color:var(--ds-text,#172b4d)}
72
+ ._1tq6pnps .token.token.token.token.token.token.token.token.bullet{color:var(--ds-text-accent-blue,#05c)}
55
73
  ._1v0lh55r .token.token.token.token.token.token.token.token.token.token.token.token.string{color:var(--ds-text-accent-green,#216e4e)}
56
- ._1v15u2gc code, ._ilvcu2gc code[class*=language-], ._m29uu2gc pre[class*=language-]{padding-top:var(--ds-space-100,8px)}
74
+ ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section{color:var(--ds-text-accent-purple,#5e4db2)}
75
+ ._1w2xu2gc pre[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
57
76
  ._1weckb7n code:last-of-type{flex-grow:1}
58
- ._1wfuwrk5 .linenumber, ._16kzwrk5 .ds-sh-line-number{min-width:var(--ads-code-line-number-width)!important}
77
+ ._1wfuwrk5 .linenumber{min-width:var(--ads-code-line-number-width)!important}
59
78
  ._1wyb1crf{font-size:9pt}
60
79
  ._1xcoh55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.atrule{color:var(--ds-text-accent-green,#216e4e)}
61
- ._1xx2grf3 code:first-of-type{padding-right:0!important}
62
- ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name, ._1vww10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.section, ._1rju10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.title{color:var(--ds-text-accent-purple,#5e4db2)}
63
- ._28ddu2gc .linenumber, ._1i8zu2gc .ds-sh-line-number{padding-left:var(--ds-space-100,8px)}
80
+ ._1yuau2gc .ds-sh-line-number{padding-inline-start:var(--ds-space-100,8px)}
81
+ ._1yvq10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.class-name{color:var(--ds-text-accent-purple,#5e4db2)}
64
82
  ._2g12fb2s .token.token.token.token.token.token.doctype{color:var(--ds-text-accent-yellow,#7f5f01)}
65
83
  ._326z1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.punctuation{color:var(--ds-text,#172b4d)}
84
+ ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
85
+ ._40uk1l04 [data-ds--code--row]{margin-inline-end:-var(--ds-space-100,8px)}
86
+ ._4io21a66 .ds-sh-line-number{padding-inline-end:var(--ds-space-100,8px)!important}
87
+ ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
88
+ ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr{color:var(--ds-text-accent-teal,#206a83)}
66
89
  ._7gp8h55r .token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta-keyword{color:var(--ds-text-accent-green,#216e4e)}
67
90
  ._97lipnps .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.boolean{color:var(--ds-text-accent-blue,#05c)}
68
91
  ._9d3e17qg .token.token.attr-name{color:var(--ds-text-accent-teal,#206a83)}
69
92
  ._9k2r1m30 .token.italic{font-style:italic}
70
93
  ._9kk3moej .token.important{font-weight:var(--ds-font-weight-bold,700)}
71
94
  ._9wu1fb2s .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.important{color:var(--ds-text-accent-yellow,#7f5f01)}
72
- ._b5iy131l .token.token.token.token.block-comment, ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
95
+ ._b5iy131l .token.token.token.token.block-comment{color:var(--ds-text-subtlest,#626f86)}
73
96
  ._bfhktkvp{background-color:var(--ds--code--bg-color,var(--ds-background-neutral,#091e420f))}
97
+ ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
98
+ ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
99
+ ._ccm6u2gc .ds-sh-line-number{margin-inline-end:var(--ds-space-100,8px)}
74
100
  ._cjus1w1g .token.bold:not(.important){font-weight:bolder}
75
101
  ._ect41odn{font-family:var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
76
- ._eiht5x2v .token.block-comment:not(.italic), ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
77
- ._euyxusvi .linenumber, ._cahfusvi .ds-sh-line-number{box-sizing:border-box}
102
+ ._eiht5x2v .token.block-comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
103
+ ._euyxusvi .linenumber{box-sizing:border-box}
78
104
  ._g0lx1fxt .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.function{color:var(--ds-text,#172b4d)}
105
+ ._gti3131l .token.token.token.token.comment{color:var(--ds-text-subtlest,#626f86)}
106
+ ._gy101giz .ds-sh-line-number{font-style:normal!important}
107
+ ._h4fuidpf code[class*=language-]{padding-inline-end:0}
108
+ ._h4fuu2gc code[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
79
109
  ._h909m7j4 [data-ds--code--row--highlight]{background-color:var(--ds-background-neutral,#091e420f)}
80
110
  ._i2ig10m5 .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.property{color:var(--ds-text-accent-purple,#5e4db2)}
111
+ ._i6ntu2gc code[class*=language-]{padding-block-end:var(--ds-space-100,8px)}
112
+ ._i81p1a66 [data-ds--code--row]{padding-inline-end:var(--ds-space-100,8px)!important}
81
113
  ._ipl81e17 [data-ds--code--row--highlight]:before{content:" [var(--ads-highlighted-start-text)] "}
82
114
  ._j0l11wug code:last-of-type{flex-basis:auto}
83
- ._jeky1l04 [data-ds--code--row]{margin-right:-var(--ds-space-100,8px)}
84
- ._juomusic .linenumber, ._lcwuusic .ds-sh-line-number{text-align:right}
115
+ ._juomusic .linenumber{text-align:right}
116
+ ._k3lipnps .token.token.token.token.token.token.token.token.namespace{color:var(--ds-text-accent-blue,#05c)}
85
117
  ._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
86
118
  ._k86b10m5 .token.token.token.token.token.function-name{color:var(--ds-text-accent-purple,#5e4db2)}
87
- ._kxov17qg .token.token.token.token.token.token.token.token.token.regex, ._1np517qg .token.token.token.token.token.token.token.token.token.symbol, ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
88
- ._mbgcpf9b .linenumber, ._bu7zpf9b .ds-sh-line-number{color:var(--ds-text-subtlest,#626f86)!important}
89
- ._mqok1w1g .token.key:not(.important,.bold), ._3hsg1w1g .token.keyword:not(.important,.bold){font-weight:bolder}
90
- ._mx8b7mnp [data-ds--code--row--highlight]:after, ._1kr87mnp [data-ds--code--row--highlight]:before{clip:rect(1px,1px,1px,1px)}
91
- ._nalpstnw [data-ds--code--row--highlight]:after, ._151dstnw [data-ds--code--row--highlight]:before{position:absolute}
92
- ._nhmw1m30 .token.block-comment:not(.italic), ._yl021m30 .token.comment:not(.italic){font-style:italic}
119
+ ._kxov17qg .token.token.token.token.token.token.token.token.token.regex{color:var(--ds-text-accent-teal,#206a83)}
120
+ ._lcwuusic .ds-sh-line-number{text-align:right}
121
+ ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
122
+ ._m2f517qg .token.token.token.token.token.token.token.token.token.variable{color:var(--ds-text-accent-teal,#206a83)}
123
+ ._m802u2gc code{padding-block-end:var(--ds-space-100,8px)}
124
+ ._mbgcpf9b .linenumber{color:var(--ds-text-subtlest,#626f86)!important}
125
+ ._mqok1w1g .token.key:not(.important,.bold){font-weight:bolder}
126
+ ._mx8b7mnp [data-ds--code--row--highlight]:after{clip:rect(1px,1px,1px,1px)}
127
+ ._nalpstnw [data-ds--code--row--highlight]:after{position:absolute}
128
+ ._nhket94y [data-ds--code--row--highlight]:before{width:1px}
129
+ ._nhmw1m30 .token.block-comment:not(.italic){font-style:italic}
93
130
  ._o572qvpr{white-space:pre}
94
- ._qdiapnps .token.key, ._72uvpnps .token.keyword{color:var(--ds-text-accent-blue,#05c)}
131
+ ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
132
+ ._pp6yidpf pre[class*=language-]{padding-inline-end:0}
133
+ ._pp6yu2gc pre[class*=language-]{padding-inline-end:var(--ds-space-100,8px)}
134
+ ._pyovu2gc .linenumber{margin-inline-end:var(--ds-space-100,8px)}
135
+ ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
136
+ ._qdiapnps .token.key{color:var(--ds-text-accent-blue,#05c)}
137
+ ._qk1e15vq [data-ds--code--row--highlight]:before{overflow-y:hidden}
138
+ ._qzn01a66 code:last-of-type{padding-inline-end:var(--ds-space-100,8px)!important}
139
+ ._r28du2gc code{padding-block-start:var(--ds-space-100,8px)}
140
+ ._rude1ule .ds-sh-line-number{display:block}
95
141
  ._scgayz1z [data-ds--code--row--highlight]:after{content:" [var(--ads-highlighted-end-text)] "}
96
142
  ._syaz1fxt{color:var(--ds-text,#172b4d)}
143
+ ._t9zb5x2v .token.comment:not(.italic){font-family:SFMono-MediumItalic,var(--ds-font-family-code,ui-monospace,Menlo,"Segoe UI Mono","Ubuntu Mono",monospace)}
144
+ ._tajqu2gc code[class*=language-]{padding-block-start:var(--ds-space-100,8px)}
97
145
  ._tgu817qg .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.attr-value{color:var(--ds-text-accent-teal,#206a83)}
98
- ._vm2c1rh5 .linenumber:after, ._12ok1rh5 .ds-sh-line-number:after{content:attr(data-ds--line-number)}
146
+ ._uga3ysn8 [data-ds--code--row--highlight]:before{clip-path:inset(100%)}
147
+ ._vblregat code[class*=language-]{tab-size:4}
148
+ ._vbulegat pre[class*=language-]{tab-size:4}
149
+ ._vm2c1rh5 .linenumber:after{content:attr(data-ds--line-number)}
150
+ ._vsnzgrf3 code:first-of-type{padding-inline-end:0!important}
99
151
  ._vwz4gktf{line-height:20px}
100
- ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote, ._748n17qg .token.token.token.token.token.token.token.token.token.token.token.selector-attr, ._1mfn17qg .token.token.token.token.token.token.token.token.token.token.token.selector-pseudo, ._1d7e17qg .token.token.token.token.token.token.token.token.token.token.token.tag, ._p2vr17qg .token.token.token.token.token.token.token.token.token.token.token.type{color:var(--ds-text-accent-teal,#206a83)}
101
- ._x7c815vq [data-ds--code--row--highlight]:after, ._lh0y15vq [data-ds--code--row--highlight]:before{overflow-x:hidden}
102
- ._xo19t94y [data-ds--code--row--highlight]:after, ._1bemt94y [data-ds--code--row--highlight]:before{height:1px}
152
+ ._vyvc1n1a [data-ds--code--row--highlight] .linenumber:before{inset-block-start:-1px}
153
+ ._wmyy17qg .token.token.token.token.token.token.token.token.token.token.token.quote{color:var(--ds-text-accent-teal,#206a83)}
154
+ ._x7c815vq [data-ds--code--row--highlight]:after{overflow-x:hidden}
155
+ ._xo19t94y [data-ds--code--row--highlight]:after{height:1px}
156
+ ._xr0w1a66 .linenumber{padding-inline-end:var(--ds-space-100,8px)!important}
157
+ ._yl021m30 .token.comment:not(.italic){font-style:italic}
103
158
  ._ys4e131l .token.token.token.token.token.token.token.token.token.token.token.token.token.token.token.meta{color:var(--ds-text-subtlest,#626f86)}
104
- ._zhnuidpf .linenumber, ._1amdidpf .ds-sh-line-number{flex-shrink:0}
105
- ._zvy9f705 code>span:only-child:empty:before, ._qcxof705 code>span:only-child>span:only-child:empty:before{content:" "}
159
+ ._zhnuidpf .linenumber{flex-shrink:0}
160
+ ._zvy9f705 code>span:only-child:empty:before{content:" "}
@@ -1,4 +1,4 @@
1
- /* code-block.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code-block.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./code-block.compiled.css";
4
4
  import * as React from 'react';
@@ -14,9 +14,9 @@ import { getLineNumWidth } from './internal/theme/styles';
14
14
  import { normalizeLanguage } from './internal/utils/get-normalized-language';
15
15
  import SyntaxHighlighter from './syntax-highlighter';
16
16
  var getCodeBlockStyles = {
17
- root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _1v15u2gc _ilvcu2gc _m29uu2gc _17wyu2gc _pn28u2gc _gz9fu2gc _1hmyegat _vblregat _vbulegat _wozj1dyw _1agb1dyw _lkm81dyw _tv41hkgb _1hmimyb0 _1ra01n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _j1w0ww7y _13cdh2mm _15ba126e _zvy9f705 _qcxof705 _14y71a66 _j0l11wug _1weckb7n _1na21hna _1xx2grf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _jeky1l04 _1gec1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _1552u2gc _12afu2gc _28ddu2gc _1i8zu2gc _12tu1a66 _zu0j1a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
18
- showLineNumbers: "_17071olh _1i3h1txw _1huoidpf _1a9lidpf _20bqidpf _1oggidpf _bympidpf _9nnjidpf",
19
- dontShowLineNumbers: "_1i3h1ule _1huou2gc _1a9lu2gc _20bqu2gc _1oggu2gc _bympu2gc _9nnju2gc",
17
+ root: "_2rko12b0 _1dqoglyw _1wyb1crf _k48pi7a9 _1e0c1txw _vwz4gktf _1reo1wug _o572qvpr _1eimjvyg _bfhktkvp _syaz1fxt _ect41odn _1ozdn7od _7xinn7od _t7aun7od _r28du2gc _tajqu2gc _1ohiu2gc _m802u2gc _i6ntu2gc _1w2xu2gc _1hmyegat _vblregat _vbulegat _196q1xv3 _1vbw1xv3 _1v9c1xv3 _1srn17d7 _18r6myb0 _vyvc1n1a _1d4j1y44 _1f8gstnw _1pzyb3bt _ra6gww7y _13cdh2mm _1pp0126e _zvy9f705 _qcxof705 _qzn01a66 _j0l11wug _1weckb7n _1na21hna _vsnzgrf3 _x7c815vq _lh0y15vq _1m3815vq _qk1e15vq _12l6ysn8 _uga3ysn8 _mx8b7mnp _1kr87mnp _xo19t94y _1bemt94y _nalpstnw _151dstnw _1exb1q9c _1hgu1q9c _1mgnt94y _nhket94y _h909m7j4 _scgayz1z _ipl81e17 _40uk1l04 _i81p1a66 _1gx21e5h _1ls0df4r _vm2c1rh5 _12ok1rh5 _1ls01ule _rude1ule _1q16glyw _1io6glyw _juomusic _lcwuusic _pyovu2gc _ccm6u2gc _1ascu2gc _1yuau2gc _xr0w1a66 _4io21a66 _euyxusvi _cahfusvi _zhnuidpf _1amdidpf _mbgcpf9b _bu7zpf9b _131n1giz _gy101giz _1wfuwrk5 _16kzwrk5 _9kk3moej _cjus1w1g _9k2r1m30 _nhmw1m30 _yl021m30 _eiht5x2v _t9zb5x2v _mqok1w1g _3hsg1w1g _i7ngn7od _9wu1fb2s _1xcoh55r _1t361fxt _137bh55r _1k7d1fxt _97lipnps _12nh9lu1 _1g0517qg _i2ig10m5 _326z1fxt _113p131l _1n6tpnps _tgu817qg _1k47pnps _g0lx1fxt _ys4e131l _7gp8h55r _1yvq10m5 _1vww10m5 _1rju10m5 _1v0lh55r _wmyy17qg _748n17qg _1mfn17qg _1d7e17qg _p2vr17qg _19o610m5 _kxov17qg _1np517qg _m2f517qg _1b9tpnps _1tq6pnps _1rd2pnps _1pbkpnps _k3lipnps _13zt131l _2g12fb2s _k86b10m5 _b5iy131l _gti3131l _1f0gpnps _9d3e17qg _qdiapnps _72uvpnps",
18
+ showLineNumbers: "_17071olh _1i3h1txw _16noidpf _h4fuidpf _pp6yidpf _1g4tidpf _11wmidpf _1bx8idpf",
19
+ dontShowLineNumbers: "_1i3h1ule _16nou2gc _h4fuu2gc _pp6yu2gc _1g4tu2gc _11wmu2gc _1bx8u2gc",
20
20
  shouldWrapLongLines: "_13dgkb7n",
21
21
  dontWrapLongLines: "_13dgkb7n"
22
22
  };
package/dist/esm/code.js CHANGED
@@ -1,4 +1,4 @@
1
- /* code.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* code.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["testId"],
package/offerings.json ADDED
@@ -0,0 +1,65 @@
1
+ [
2
+ {
3
+ "name": "Code",
4
+ "package": "@atlaskit/code",
5
+ "import": {
6
+ "name": "Code",
7
+ "package": "@atlaskit/code",
8
+ "type": "named"
9
+ },
10
+ "keywords": ["code", "snippet", "inline", "syntax", "programming"],
11
+ "categories": ["data-display"],
12
+ "shortDescription": "A component for displaying code snippets.",
13
+ "status": "general-availability",
14
+ "accessibilityGuidelines": [
15
+ "Ensure code content is announced properly by screen readers",
16
+ "Use appropriate contrast for code readability",
17
+ "Consider code context and meaning"
18
+ ],
19
+ "usageGuidelines": [
20
+ "Use for inline code snippets",
21
+ "Consider syntax highlighting needs",
22
+ "Use appropriate font styling",
23
+ "Consider code block vs inline code"
24
+ ],
25
+ "contentGuidelines": [
26
+ "Use clear, readable code examples",
27
+ "Consider code formatting and indentation",
28
+ "Use meaningful variable names in examples",
29
+ "Keep code snippets concise"
30
+ ],
31
+ "examples": ["./examples/ai/code.tsx"]
32
+ },
33
+ {
34
+ "name": "CodeBlock",
35
+ "package": "@atlaskit/code",
36
+ "import": {
37
+ "name": "CodeBlock",
38
+ "package": "@atlaskit/code",
39
+ "type": "named"
40
+ },
41
+ "keywords": ["code", "block", "syntax", "highlighting", "multiline"],
42
+ "categories": ["data-display"],
43
+ "shortDescription": "A component for displaying multi-line code blocks with syntax highlighting.",
44
+ "status": "general-availability",
45
+ "accessibilityGuidelines": [
46
+ "Ensure code blocks are announced properly by screen readers",
47
+ "Use appropriate contrast for code readability",
48
+ "Consider code context and meaning",
49
+ "Provide proper language identification"
50
+ ],
51
+ "usageGuidelines": [
52
+ "Use for multi-line code examples",
53
+ "Specify appropriate language for syntax highlighting",
54
+ "Consider code block sizing and scrolling",
55
+ "Use for code snippets that need formatting"
56
+ ],
57
+ "contentGuidelines": [
58
+ "Use clear, readable code examples",
59
+ "Consider code formatting and indentation",
60
+ "Use meaningful variable names in examples",
61
+ "Keep code blocks focused and relevant"
62
+ ],
63
+ "examples": ["./examples/ai/code-block.tsx"]
64
+ }
65
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/code",
3
- "version": "17.2.4",
3
+ "version": "17.2.6",
4
4
  "description": "Code highlights short strings of code snippets inline with body text.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@atlaskit/codemod-utils": "^4.2.0",
31
31
  "@atlaskit/platform-feature-flags": "^1.1.0",
32
- "@atlaskit/tokens": "^6.2.0",
33
- "@atlaskit/tooltip": "^20.4.0",
32
+ "@atlaskit/tokens": "^6.4.0",
33
+ "@atlaskit/tooltip": "^20.5.0",
34
34
  "@atlaskit/visually-hidden": "^3.0.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@compiled/react": "^0.18.3",
@@ -47,14 +47,14 @@
47
47
  "@af/integration-testing": "workspace:^",
48
48
  "@af/visual-regression": "workspace:^",
49
49
  "@atlaskit/button": "^23.4.0",
50
- "@atlaskit/docs": "^11.0.0",
51
- "@atlaskit/ds-lib": "^5.0.0",
52
- "@atlaskit/form": "^12.4.0",
50
+ "@atlaskit/docs": "^11.1.0",
51
+ "@atlaskit/ds-lib": "^5.1.0",
52
+ "@atlaskit/form": "^14.2.0",
53
53
  "@atlaskit/link": "^3.2.0",
54
- "@atlaskit/primitives": "^14.13.0",
54
+ "@atlaskit/primitives": "^14.15.0",
55
55
  "@atlaskit/section-message": "^8.7.0",
56
56
  "@atlaskit/ssr": "workspace:^",
57
- "@atlaskit/theme": "^20.0.0",
57
+ "@atlaskit/theme": "^21.0.0",
58
58
  "@atlaskit/toggle": "^15.1.0",
59
59
  "@atlassian/ssr-tests": "^0.3.0",
60
60
  "@testing-library/react": "^13.4.0",