@almadar/ui 2.48.9 → 2.49.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.
@@ -22031,6 +22031,7 @@ SyntaxHighlighter__default.default.registerLanguage("toml", langToml__default.de
22031
22031
  SyntaxHighlighter__default.default.registerLanguage("go", langGo__default.default);
22032
22032
  SyntaxHighlighter__default.default.registerLanguage("graphql", langGraphql__default.default);
22033
22033
  SyntaxHighlighter__default.default.registerLanguage("orb", syntax.orbLanguage);
22034
+ SyntaxHighlighter__default.default.registerLanguage("lolo", syntax.loloLanguage);
22034
22035
  var orbStyleOverrides = {
22035
22036
  "orb-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
22036
22037
  "orb-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -22052,6 +22053,27 @@ var orbStyleOverrides = {
22052
22053
  "orb-op-async": { color: syntax.ORB_COLORS.dark.async }
22053
22054
  };
22054
22055
  var orbStyle = { ...dark__default.default, ...orbStyleOverrides };
22056
+ var loloStyleOverrides = {
22057
+ "lolo-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
22058
+ "lolo-event": { color: syntax.ORB_COLORS.dark.event },
22059
+ "lolo-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
22060
+ "keyword": { color: syntax.ORB_COLORS.dark.loloKeyword },
22061
+ "lolo-constructor": { color: syntax.ORB_COLORS.dark.loloConstructor },
22062
+ "lolo-arrow": { color: syntax.ORB_COLORS.dark.loloArrow },
22063
+ "lolo-reference": { color: syntax.ORB_COLORS.dark.loloReference },
22064
+ "lolo-type": { color: syntax.ORB_COLORS.dark.fieldType },
22065
+ "lolo-persistence": { color: syntax.ORB_COLORS.dark.persistence },
22066
+ "lolo-unknown-op": { color: syntax.ORB_COLORS.dark.error },
22067
+ "lolo-op-arithmetic": { color: syntax.ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
22068
+ "lolo-op-comparison": { color: syntax.ORB_COLORS.dark.comparison },
22069
+ "lolo-op-logic": { color: syntax.ORB_COLORS.dark.logic },
22070
+ "lolo-op-string": { color: syntax.ORB_COLORS.dark.string },
22071
+ "lolo-op-collection": { color: syntax.ORB_COLORS.dark.collection },
22072
+ "lolo-op-time": { color: syntax.ORB_COLORS.dark.time },
22073
+ "lolo-op-control": { color: syntax.ORB_COLORS.dark.control },
22074
+ "lolo-op-async": { color: syntax.ORB_COLORS.dark.async }
22075
+ };
22076
+ var loloStyle = { ...dark__default.default, ...loloStyleOverrides };
22055
22077
  function computeFoldRegions(code) {
22056
22078
  const lines = code.split("\n");
22057
22079
  const regions = [];
@@ -22100,7 +22122,8 @@ var CodeBlock = React125__namespace.default.memo(
22100
22122
  }) => {
22101
22123
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
22102
22124
  const isOrb = language === "orb";
22103
- const activeStyle = isOrb ? orbStyle : dark__default.default;
22125
+ const isLolo = language === "lolo";
22126
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark__default.default;
22104
22127
  const eventBus = useEventBus();
22105
22128
  const { t: _t } = useTranslate();
22106
22129
  const scrollRef = React125.useRef(null);
package/dist/avl/index.js CHANGED
@@ -24,7 +24,7 @@ import remarkMath from 'remark-math';
24
24
  import rehypeKatex from 'rehype-katex';
25
25
  import SyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light';
26
26
  import dark from 'react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus';
27
- import { orbLanguage, ORB_COLORS } from '@almadar/syntax';
27
+ import { orbLanguage, loloLanguage, ORB_COLORS } from '@almadar/syntax';
28
28
  import langJson from 'react-syntax-highlighter/dist/esm/languages/prism/json';
29
29
  import langJavascript from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
30
30
  import langTypescript from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
@@ -21985,6 +21985,7 @@ SyntaxHighlighter.registerLanguage("toml", langToml);
21985
21985
  SyntaxHighlighter.registerLanguage("go", langGo);
21986
21986
  SyntaxHighlighter.registerLanguage("graphql", langGraphql);
21987
21987
  SyntaxHighlighter.registerLanguage("orb", orbLanguage);
21988
+ SyntaxHighlighter.registerLanguage("lolo", loloLanguage);
21988
21989
  var orbStyleOverrides = {
21989
21990
  "orb-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
21990
21991
  "orb-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -22006,6 +22007,27 @@ var orbStyleOverrides = {
22006
22007
  "orb-op-async": { color: ORB_COLORS.dark.async }
22007
22008
  };
22008
22009
  var orbStyle = { ...dark, ...orbStyleOverrides };
22010
+ var loloStyleOverrides = {
22011
+ "lolo-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
22012
+ "lolo-event": { color: ORB_COLORS.dark.event },
22013
+ "lolo-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
22014
+ "keyword": { color: ORB_COLORS.dark.loloKeyword },
22015
+ "lolo-constructor": { color: ORB_COLORS.dark.loloConstructor },
22016
+ "lolo-arrow": { color: ORB_COLORS.dark.loloArrow },
22017
+ "lolo-reference": { color: ORB_COLORS.dark.loloReference },
22018
+ "lolo-type": { color: ORB_COLORS.dark.fieldType },
22019
+ "lolo-persistence": { color: ORB_COLORS.dark.persistence },
22020
+ "lolo-unknown-op": { color: ORB_COLORS.dark.error },
22021
+ "lolo-op-arithmetic": { color: ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
22022
+ "lolo-op-comparison": { color: ORB_COLORS.dark.comparison },
22023
+ "lolo-op-logic": { color: ORB_COLORS.dark.logic },
22024
+ "lolo-op-string": { color: ORB_COLORS.dark.string },
22025
+ "lolo-op-collection": { color: ORB_COLORS.dark.collection },
22026
+ "lolo-op-time": { color: ORB_COLORS.dark.time },
22027
+ "lolo-op-control": { color: ORB_COLORS.dark.control },
22028
+ "lolo-op-async": { color: ORB_COLORS.dark.async }
22029
+ };
22030
+ var loloStyle = { ...dark, ...loloStyleOverrides };
22009
22031
  function computeFoldRegions(code) {
22010
22032
  const lines = code.split("\n");
22011
22033
  const regions = [];
@@ -22054,7 +22076,8 @@ var CodeBlock = React125__default.memo(
22054
22076
  }) => {
22055
22077
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
22056
22078
  const isOrb = language === "orb";
22057
- const activeStyle = isOrb ? orbStyle : dark;
22079
+ const isLolo = language === "lolo";
22080
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark;
22058
22081
  const eventBus = useEventBus();
22059
22082
  const { t: _t } = useTranslate();
22060
22083
  const scrollRef = useRef(null);
@@ -9122,6 +9122,7 @@ SyntaxHighlighter__default.default.registerLanguage("toml", langToml__default.de
9122
9122
  SyntaxHighlighter__default.default.registerLanguage("go", langGo__default.default);
9123
9123
  SyntaxHighlighter__default.default.registerLanguage("graphql", langGraphql__default.default);
9124
9124
  SyntaxHighlighter__default.default.registerLanguage("orb", syntax.orbLanguage);
9125
+ SyntaxHighlighter__default.default.registerLanguage("lolo", syntax.loloLanguage);
9125
9126
  var orbStyleOverrides = {
9126
9127
  "orb-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
9127
9128
  "orb-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -9143,6 +9144,27 @@ var orbStyleOverrides = {
9143
9144
  "orb-op-async": { color: syntax.ORB_COLORS.dark.async }
9144
9145
  };
9145
9146
  var orbStyle = { ...dark__default.default, ...orbStyleOverrides };
9147
+ var loloStyleOverrides = {
9148
+ "lolo-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
9149
+ "lolo-event": { color: syntax.ORB_COLORS.dark.event },
9150
+ "lolo-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
9151
+ "keyword": { color: syntax.ORB_COLORS.dark.loloKeyword },
9152
+ "lolo-constructor": { color: syntax.ORB_COLORS.dark.loloConstructor },
9153
+ "lolo-arrow": { color: syntax.ORB_COLORS.dark.loloArrow },
9154
+ "lolo-reference": { color: syntax.ORB_COLORS.dark.loloReference },
9155
+ "lolo-type": { color: syntax.ORB_COLORS.dark.fieldType },
9156
+ "lolo-persistence": { color: syntax.ORB_COLORS.dark.persistence },
9157
+ "lolo-unknown-op": { color: syntax.ORB_COLORS.dark.error },
9158
+ "lolo-op-arithmetic": { color: syntax.ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
9159
+ "lolo-op-comparison": { color: syntax.ORB_COLORS.dark.comparison },
9160
+ "lolo-op-logic": { color: syntax.ORB_COLORS.dark.logic },
9161
+ "lolo-op-string": { color: syntax.ORB_COLORS.dark.string },
9162
+ "lolo-op-collection": { color: syntax.ORB_COLORS.dark.collection },
9163
+ "lolo-op-time": { color: syntax.ORB_COLORS.dark.time },
9164
+ "lolo-op-control": { color: syntax.ORB_COLORS.dark.control },
9165
+ "lolo-op-async": { color: syntax.ORB_COLORS.dark.async }
9166
+ };
9167
+ var loloStyle = { ...dark__default.default, ...loloStyleOverrides };
9146
9168
  function computeFoldRegions(code) {
9147
9169
  const lines = code.split("\n");
9148
9170
  const regions = [];
@@ -9191,7 +9213,8 @@ var CodeBlock = React90__namespace.default.memo(
9191
9213
  }) => {
9192
9214
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
9193
9215
  const isOrb = language === "orb";
9194
- const activeStyle = isOrb ? orbStyle : dark__default.default;
9216
+ const isLolo = language === "lolo";
9217
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark__default.default;
9195
9218
  const eventBus = useEventBus();
9196
9219
  const { t: _t } = useTranslate();
9197
9220
  const scrollRef = React90.useRef(null);
@@ -14,7 +14,7 @@ import remarkMath from 'remark-math';
14
14
  import rehypeKatex from 'rehype-katex';
15
15
  import SyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light';
16
16
  import dark from 'react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus';
17
- import { orbLanguage, ORB_COLORS } from '@almadar/syntax';
17
+ import { orbLanguage, loloLanguage, ORB_COLORS } from '@almadar/syntax';
18
18
  import langJson from 'react-syntax-highlighter/dist/esm/languages/prism/json';
19
19
  import langJavascript from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
20
20
  import langTypescript from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
@@ -9077,6 +9077,7 @@ SyntaxHighlighter.registerLanguage("toml", langToml);
9077
9077
  SyntaxHighlighter.registerLanguage("go", langGo);
9078
9078
  SyntaxHighlighter.registerLanguage("graphql", langGraphql);
9079
9079
  SyntaxHighlighter.registerLanguage("orb", orbLanguage);
9080
+ SyntaxHighlighter.registerLanguage("lolo", loloLanguage);
9080
9081
  var orbStyleOverrides = {
9081
9082
  "orb-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
9082
9083
  "orb-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -9098,6 +9099,27 @@ var orbStyleOverrides = {
9098
9099
  "orb-op-async": { color: ORB_COLORS.dark.async }
9099
9100
  };
9100
9101
  var orbStyle = { ...dark, ...orbStyleOverrides };
9102
+ var loloStyleOverrides = {
9103
+ "lolo-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
9104
+ "lolo-event": { color: ORB_COLORS.dark.event },
9105
+ "lolo-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
9106
+ "keyword": { color: ORB_COLORS.dark.loloKeyword },
9107
+ "lolo-constructor": { color: ORB_COLORS.dark.loloConstructor },
9108
+ "lolo-arrow": { color: ORB_COLORS.dark.loloArrow },
9109
+ "lolo-reference": { color: ORB_COLORS.dark.loloReference },
9110
+ "lolo-type": { color: ORB_COLORS.dark.fieldType },
9111
+ "lolo-persistence": { color: ORB_COLORS.dark.persistence },
9112
+ "lolo-unknown-op": { color: ORB_COLORS.dark.error },
9113
+ "lolo-op-arithmetic": { color: ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
9114
+ "lolo-op-comparison": { color: ORB_COLORS.dark.comparison },
9115
+ "lolo-op-logic": { color: ORB_COLORS.dark.logic },
9116
+ "lolo-op-string": { color: ORB_COLORS.dark.string },
9117
+ "lolo-op-collection": { color: ORB_COLORS.dark.collection },
9118
+ "lolo-op-time": { color: ORB_COLORS.dark.time },
9119
+ "lolo-op-control": { color: ORB_COLORS.dark.control },
9120
+ "lolo-op-async": { color: ORB_COLORS.dark.async }
9121
+ };
9122
+ var loloStyle = { ...dark, ...loloStyleOverrides };
9101
9123
  function computeFoldRegions(code) {
9102
9124
  const lines = code.split("\n");
9103
9125
  const regions = [];
@@ -9146,7 +9168,8 @@ var CodeBlock = React90__default.memo(
9146
9168
  }) => {
9147
9169
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
9148
9170
  const isOrb = language === "orb";
9149
- const activeStyle = isOrb ? orbStyle : dark;
9171
+ const isLolo = language === "lolo";
9172
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark;
9150
9173
  const eventBus = useEventBus();
9151
9174
  const { t: _t } = useTranslate();
9152
9175
  const scrollRef = useRef(null);
@@ -4007,6 +4007,7 @@ SyntaxHighlighter__default.default.registerLanguage("toml", langToml__default.de
4007
4007
  SyntaxHighlighter__default.default.registerLanguage("go", langGo__default.default);
4008
4008
  SyntaxHighlighter__default.default.registerLanguage("graphql", langGraphql__default.default);
4009
4009
  SyntaxHighlighter__default.default.registerLanguage("orb", syntax.orbLanguage);
4010
+ SyntaxHighlighter__default.default.registerLanguage("lolo", syntax.loloLanguage);
4010
4011
  var orbStyleOverrides = {
4011
4012
  "orb-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
4012
4013
  "orb-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -4028,6 +4029,27 @@ var orbStyleOverrides = {
4028
4029
  "orb-op-async": { color: syntax.ORB_COLORS.dark.async }
4029
4030
  };
4030
4031
  var orbStyle = { ...dark__default.default, ...orbStyleOverrides };
4032
+ var loloStyleOverrides = {
4033
+ "lolo-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
4034
+ "lolo-event": { color: syntax.ORB_COLORS.dark.event },
4035
+ "lolo-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
4036
+ "keyword": { color: syntax.ORB_COLORS.dark.loloKeyword },
4037
+ "lolo-constructor": { color: syntax.ORB_COLORS.dark.loloConstructor },
4038
+ "lolo-arrow": { color: syntax.ORB_COLORS.dark.loloArrow },
4039
+ "lolo-reference": { color: syntax.ORB_COLORS.dark.loloReference },
4040
+ "lolo-type": { color: syntax.ORB_COLORS.dark.fieldType },
4041
+ "lolo-persistence": { color: syntax.ORB_COLORS.dark.persistence },
4042
+ "lolo-unknown-op": { color: syntax.ORB_COLORS.dark.error },
4043
+ "lolo-op-arithmetic": { color: syntax.ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
4044
+ "lolo-op-comparison": { color: syntax.ORB_COLORS.dark.comparison },
4045
+ "lolo-op-logic": { color: syntax.ORB_COLORS.dark.logic },
4046
+ "lolo-op-string": { color: syntax.ORB_COLORS.dark.string },
4047
+ "lolo-op-collection": { color: syntax.ORB_COLORS.dark.collection },
4048
+ "lolo-op-time": { color: syntax.ORB_COLORS.dark.time },
4049
+ "lolo-op-control": { color: syntax.ORB_COLORS.dark.control },
4050
+ "lolo-op-async": { color: syntax.ORB_COLORS.dark.async }
4051
+ };
4052
+ var loloStyle = { ...dark__default.default, ...loloStyleOverrides };
4031
4053
  function computeFoldRegions(code) {
4032
4054
  const lines = code.split("\n");
4033
4055
  const regions = [];
@@ -4076,7 +4098,8 @@ var CodeBlock = React114__namespace.default.memo(
4076
4098
  }) => {
4077
4099
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
4078
4100
  const isOrb = language === "orb";
4079
- const activeStyle = isOrb ? orbStyle : dark__default.default;
4101
+ const isLolo = language === "lolo";
4102
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark__default.default;
4080
4103
  const eventBus = useEventBus();
4081
4104
  const { t: _t } = useTranslate();
4082
4105
  const scrollRef = React114.useRef(null);
@@ -17,7 +17,7 @@ import remarkMath from 'remark-math';
17
17
  import rehypeKatex from 'rehype-katex';
18
18
  import SyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light';
19
19
  import dark from 'react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus';
20
- import { orbLanguage, ORB_COLORS } from '@almadar/syntax';
20
+ import { orbLanguage, loloLanguage, ORB_COLORS } from '@almadar/syntax';
21
21
  import langJson from 'react-syntax-highlighter/dist/esm/languages/prism/json';
22
22
  import langJavascript from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
23
23
  import langTypescript from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
@@ -3962,6 +3962,7 @@ SyntaxHighlighter.registerLanguage("toml", langToml);
3962
3962
  SyntaxHighlighter.registerLanguage("go", langGo);
3963
3963
  SyntaxHighlighter.registerLanguage("graphql", langGraphql);
3964
3964
  SyntaxHighlighter.registerLanguage("orb", orbLanguage);
3965
+ SyntaxHighlighter.registerLanguage("lolo", loloLanguage);
3965
3966
  var orbStyleOverrides = {
3966
3967
  "orb-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
3967
3968
  "orb-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -3983,6 +3984,27 @@ var orbStyleOverrides = {
3983
3984
  "orb-op-async": { color: ORB_COLORS.dark.async }
3984
3985
  };
3985
3986
  var orbStyle = { ...dark, ...orbStyleOverrides };
3987
+ var loloStyleOverrides = {
3988
+ "lolo-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
3989
+ "lolo-event": { color: ORB_COLORS.dark.event },
3990
+ "lolo-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
3991
+ "keyword": { color: ORB_COLORS.dark.loloKeyword },
3992
+ "lolo-constructor": { color: ORB_COLORS.dark.loloConstructor },
3993
+ "lolo-arrow": { color: ORB_COLORS.dark.loloArrow },
3994
+ "lolo-reference": { color: ORB_COLORS.dark.loloReference },
3995
+ "lolo-type": { color: ORB_COLORS.dark.fieldType },
3996
+ "lolo-persistence": { color: ORB_COLORS.dark.persistence },
3997
+ "lolo-unknown-op": { color: ORB_COLORS.dark.error },
3998
+ "lolo-op-arithmetic": { color: ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
3999
+ "lolo-op-comparison": { color: ORB_COLORS.dark.comparison },
4000
+ "lolo-op-logic": { color: ORB_COLORS.dark.logic },
4001
+ "lolo-op-string": { color: ORB_COLORS.dark.string },
4002
+ "lolo-op-collection": { color: ORB_COLORS.dark.collection },
4003
+ "lolo-op-time": { color: ORB_COLORS.dark.time },
4004
+ "lolo-op-control": { color: ORB_COLORS.dark.control },
4005
+ "lolo-op-async": { color: ORB_COLORS.dark.async }
4006
+ };
4007
+ var loloStyle = { ...dark, ...loloStyleOverrides };
3986
4008
  function computeFoldRegions(code) {
3987
4009
  const lines = code.split("\n");
3988
4010
  const regions = [];
@@ -4031,7 +4053,8 @@ var CodeBlock = React114__default.memo(
4031
4053
  }) => {
4032
4054
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
4033
4055
  const isOrb = language === "orb";
4034
- const activeStyle = isOrb ? orbStyle : dark;
4056
+ const isLolo = language === "lolo";
4057
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark;
4035
4058
  const eventBus = useEventBus();
4036
4059
  const { t: _t } = useTranslate();
4037
4060
  const scrollRef = useRef(null);
@@ -9927,6 +9927,7 @@ SyntaxHighlighter__default.default.registerLanguage("toml", langToml__default.de
9927
9927
  SyntaxHighlighter__default.default.registerLanguage("go", langGo__default.default);
9928
9928
  SyntaxHighlighter__default.default.registerLanguage("graphql", langGraphql__default.default);
9929
9929
  SyntaxHighlighter__default.default.registerLanguage("orb", syntax.orbLanguage);
9930
+ SyntaxHighlighter__default.default.registerLanguage("lolo", syntax.loloLanguage);
9930
9931
  var orbStyleOverrides = {
9931
9932
  "orb-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
9932
9933
  "orb-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -9948,6 +9949,27 @@ var orbStyleOverrides = {
9948
9949
  "orb-op-async": { color: syntax.ORB_COLORS.dark.async }
9949
9950
  };
9950
9951
  var orbStyle = { ...dark__default.default, ...orbStyleOverrides };
9952
+ var loloStyleOverrides = {
9953
+ "lolo-binding": { color: syntax.ORB_COLORS.dark.binding, fontWeight: "bold" },
9954
+ "lolo-event": { color: syntax.ORB_COLORS.dark.event },
9955
+ "lolo-effect": { color: syntax.ORB_COLORS.dark.effect, fontWeight: "bold" },
9956
+ "keyword": { color: syntax.ORB_COLORS.dark.loloKeyword },
9957
+ "lolo-constructor": { color: syntax.ORB_COLORS.dark.loloConstructor },
9958
+ "lolo-arrow": { color: syntax.ORB_COLORS.dark.loloArrow },
9959
+ "lolo-reference": { color: syntax.ORB_COLORS.dark.loloReference },
9960
+ "lolo-type": { color: syntax.ORB_COLORS.dark.fieldType },
9961
+ "lolo-persistence": { color: syntax.ORB_COLORS.dark.persistence },
9962
+ "lolo-unknown-op": { color: syntax.ORB_COLORS.dark.error },
9963
+ "lolo-op-arithmetic": { color: syntax.ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
9964
+ "lolo-op-comparison": { color: syntax.ORB_COLORS.dark.comparison },
9965
+ "lolo-op-logic": { color: syntax.ORB_COLORS.dark.logic },
9966
+ "lolo-op-string": { color: syntax.ORB_COLORS.dark.string },
9967
+ "lolo-op-collection": { color: syntax.ORB_COLORS.dark.collection },
9968
+ "lolo-op-time": { color: syntax.ORB_COLORS.dark.time },
9969
+ "lolo-op-control": { color: syntax.ORB_COLORS.dark.control },
9970
+ "lolo-op-async": { color: syntax.ORB_COLORS.dark.async }
9971
+ };
9972
+ var loloStyle = { ...dark__default.default, ...loloStyleOverrides };
9951
9973
  function computeFoldRegions(code) {
9952
9974
  const lines = code.split("\n");
9953
9975
  const regions = [];
@@ -9996,7 +10018,8 @@ var CodeBlock = React114__namespace.default.memo(
9996
10018
  }) => {
9997
10019
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
9998
10020
  const isOrb = language === "orb";
9999
- const activeStyle = isOrb ? orbStyle : dark__default.default;
10021
+ const isLolo = language === "lolo";
10022
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark__default.default;
10000
10023
  const eventBus = useEventBus();
10001
10024
  const { t: _t } = useTranslate();
10002
10025
  const scrollRef = React114.useRef(null);
@@ -20,7 +20,7 @@ import remarkMath from 'remark-math';
20
20
  import rehypeKatex from 'rehype-katex';
21
21
  import SyntaxHighlighter from 'react-syntax-highlighter/dist/esm/prism-light';
22
22
  import dark from 'react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus';
23
- import { orbLanguage, ORB_COLORS } from '@almadar/syntax';
23
+ import { orbLanguage, loloLanguage, ORB_COLORS } from '@almadar/syntax';
24
24
  import langJson from 'react-syntax-highlighter/dist/esm/languages/prism/json';
25
25
  import langJavascript from 'react-syntax-highlighter/dist/esm/languages/prism/javascript';
26
26
  import langTypescript from 'react-syntax-highlighter/dist/esm/languages/prism/typescript';
@@ -9882,6 +9882,7 @@ SyntaxHighlighter.registerLanguage("toml", langToml);
9882
9882
  SyntaxHighlighter.registerLanguage("go", langGo);
9883
9883
  SyntaxHighlighter.registerLanguage("graphql", langGraphql);
9884
9884
  SyntaxHighlighter.registerLanguage("orb", orbLanguage);
9885
+ SyntaxHighlighter.registerLanguage("lolo", loloLanguage);
9885
9886
  var orbStyleOverrides = {
9886
9887
  "orb-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
9887
9888
  "orb-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
@@ -9903,6 +9904,27 @@ var orbStyleOverrides = {
9903
9904
  "orb-op-async": { color: ORB_COLORS.dark.async }
9904
9905
  };
9905
9906
  var orbStyle = { ...dark, ...orbStyleOverrides };
9907
+ var loloStyleOverrides = {
9908
+ "lolo-binding": { color: ORB_COLORS.dark.binding, fontWeight: "bold" },
9909
+ "lolo-event": { color: ORB_COLORS.dark.event },
9910
+ "lolo-effect": { color: ORB_COLORS.dark.effect, fontWeight: "bold" },
9911
+ "keyword": { color: ORB_COLORS.dark.loloKeyword },
9912
+ "lolo-constructor": { color: ORB_COLORS.dark.loloConstructor },
9913
+ "lolo-arrow": { color: ORB_COLORS.dark.loloArrow },
9914
+ "lolo-reference": { color: ORB_COLORS.dark.loloReference },
9915
+ "lolo-type": { color: ORB_COLORS.dark.fieldType },
9916
+ "lolo-persistence": { color: ORB_COLORS.dark.persistence },
9917
+ "lolo-unknown-op": { color: ORB_COLORS.dark.error },
9918
+ "lolo-op-arithmetic": { color: ORB_COLORS.dark.arithmetic, fontWeight: "bold" },
9919
+ "lolo-op-comparison": { color: ORB_COLORS.dark.comparison },
9920
+ "lolo-op-logic": { color: ORB_COLORS.dark.logic },
9921
+ "lolo-op-string": { color: ORB_COLORS.dark.string },
9922
+ "lolo-op-collection": { color: ORB_COLORS.dark.collection },
9923
+ "lolo-op-time": { color: ORB_COLORS.dark.time },
9924
+ "lolo-op-control": { color: ORB_COLORS.dark.control },
9925
+ "lolo-op-async": { color: ORB_COLORS.dark.async }
9926
+ };
9927
+ var loloStyle = { ...dark, ...loloStyleOverrides };
9906
9928
  function computeFoldRegions(code) {
9907
9929
  const lines = code.split("\n");
9908
9930
  const regions = [];
@@ -9951,7 +9973,8 @@ var CodeBlock = React114__default.memo(
9951
9973
  }) => {
9952
9974
  const code = typeof rawCode === "string" ? rawCode : String(rawCode ?? "");
9953
9975
  const isOrb = language === "orb";
9954
- const activeStyle = isOrb ? orbStyle : dark;
9976
+ const isLolo = language === "lolo";
9977
+ const activeStyle = isOrb ? orbStyle : isLolo ? loloStyle : dark;
9955
9978
  const eventBus = useEventBus();
9956
9979
  const { t: _t } = useTranslate();
9957
9980
  const scrollRef = useRef(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "2.48.9",
3
+ "version": "2.49.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -122,7 +122,7 @@
122
122
  "@almadar/evaluator": ">=2.5.4",
123
123
  "@almadar/patterns": ">=2.10.0",
124
124
  "@almadar/std": ">=5.2.0",
125
- "@almadar/syntax": ">=1.1.0",
125
+ "@almadar/syntax": ">=1.2.0",
126
126
  "@almadar/runtime": ">=2.0.0",
127
127
  "@xyflow/react": "12.10.1",
128
128
  "clsx": "^2.1.0",